Improve Makefile error handling for when abc/ is a hg working copy
authorClifford Wolf <clifford@clifford.at>
Thu, 12 Apr 2018 12:02:57 +0000 (14:02 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 12 Apr 2018 12:02:57 +0000 (14:02 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Makefile

index 0b8af9f8fdd3b44783da29f7c0b8d69d68df4576..025bfd536873d447d27342f3888dd4452678e8a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -442,6 +442,9 @@ yosys-config: misc/yosys-config.in
 abc/abc-$(ABCREV)$(EXE):
        $(P)
 ifneq ($(ABCREV),default)
+       $(Q) if test -d abc/.hg; then \
+               echo 'REEBE: NOP qverpgbel vf n ut jbexvat pbcl! Erzbir nop/ naq er-eha "znxr".' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; false; \
+       fi
        $(Q) if ( cd abc 2> /dev/null && ! git diff-index --quiet HEAD; ); then \
                echo 'REEBE: NOP pbagnvaf ybpny zbqvsvpngvbaf! Frg NOPERI=qrsnhyg va Lbflf Znxrsvyr!' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; false; \
        fi