diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-26 11:55:58 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-26 11:55:58 +0200 |
commit | 665759fceee4a0db3e776b7912e976eea2ff29a3 (patch) | |
tree | 2ef6bc492112e05c32394ca55872ef0c2e815b2d /Makefile | |
parent | f8a68b8f55ed61c6046e11b60587c840f0ba1879 (diff) | |
download | yosys-665759fceee4a0db3e776b7912e976eea2ff29a3.tar.gz yosys-665759fceee4a0db3e776b7912e976eea2ff29a3.tar.bz2 yosys-665759fceee4a0db3e776b7912e976eea2ff29a3.zip |
Cosmetic fixes for "make abc"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -197,11 +197,12 @@ yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp abc/abc-$(ABCREV): $(P) ifneq ($(ABCREV),default) - $(Q) if ( cd abc && hg identify; ) | grep -q +; then \ + $(Q) if ( cd abc 2> /dev/null && 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 - $(Q) if test "`cd abc && hg identify | cut -f1 -d' '`" != "$(ABCREV)"; then \ + $(Q) if test "`cd abc 2> /dev/null && hg identify | cut -f1 -d' '`" != "$(ABCREV)"; then \ 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; }; \ + echo "Pulling ABC from bitbucket.org:"; \ test -d abc || hg clone https://bitbucket.org/alanmi/abc abc; \ cd abc && hg pull && hg update -r $(ABCREV); \ fi |