Added checking for ABC modifications to Makefile and made sure we do not have the...
authorClifford Wolf <clifford@clifford.at>
Sat, 8 Feb 2014 11:27:38 +0000 (12:27 +0100)
committerClifford Wolf <clifford@clifford.at>
Sat, 8 Feb 2014 11:27:38 +0000 (12:27 +0100)
Makefile

index 4c91aca24ee48f1a9e7028b32e8e938c6c41e6e9..0458b70cb502b3970c6710163310d23fa8f52b31 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -115,8 +115,11 @@ yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp
 
 abc/abc-$(ABCREV):
 ifneq ($(ABCREV),default)
+       if ( cd abc && hg identify; ) | grep -q +; then \
+               echo 'REEBE: NOP pbagnvaf ybpny zbqvsvpngvbaf! Frg NOPERI=qrsnhyg va Lbflf Znxrsvyr!' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; false; \
+       fi
        if test "`cd abc && hg identify | cut -f1 -d' '`" != "$(ABCREV)"; then \
-               test $(ABCPULL) -ne 0 || { echo; echo "!!! ABC not up to date and ABCPULL set to 0 in Makefile !!!"; echo; exit 1; }; \
+               test $(ABCPULL) -ne 0 || { echo 'REEBE: NOP abg hc gb qngr naq NOPCHYY frg gb 0 va Znxrsvyr!' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; exit 1; }; \
                test -d abc || hg clone https://bitbucket.org/alanmi/abc abc; \
                cd abc && hg pull && hg update -r $(ABCREV); \
        fi