From ced7ede3cd0853c9954bda518aaf546d3a0e5389 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 24 Feb 2014 15:52:23 -0500 Subject: obsolete setup.sh --- unrpyc/Makefile | 6 +++--- unrpyc/find-gzip.sh | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'unrpyc') diff --git a/unrpyc/Makefile b/unrpyc/Makefile index ea331ba..3259d12 100644 --- a/unrpyc/Makefile +++ b/unrpyc/Makefile @@ -1,8 +1,8 @@ GZIP := $(shell ./find-gzip.sh) -TARGETS := script.json script.json.gz imachine.json imachine.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz +JSON := script.json script.json.gz imachine.json imachine.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz -all: $(TARGETS) +all: $(JSON) %.json.gz: %.json $(GZIP) -c $< > $@ @@ -38,7 +38,7 @@ test: all install: all [ -d ../www/json ] || mkdir ../www/json - cp -f $(TARGETS) ../www/json + cp -f $(JSON) ../www/json uninstall: $(RM) ../www/json/* diff --git a/unrpyc/find-gzip.sh b/unrpyc/find-gzip.sh index de6d19e..2c2e51d 100755 --- a/unrpyc/find-gzip.sh +++ b/unrpyc/find-gzip.sh @@ -2,9 +2,8 @@ if command -v zopfli; then : elif command -v gzip; then - echo >&2 "Consider obtaining zopfli (https://code.google.com/p/zopfli/)" - echo >&2 "for higher compression ratios (about 5% decrease in size of" - echo >&2 "script.json.gz)." + echo >&2 "Consider obtaining zopfli (https://github.com/Hello71/zopfli) for higher" + echo >&2 "compression ratios (about 5% decrease in size of script.json.gz)." else echo >&2 "Could not find zopfli or gzip, aborting." exit 1 -- cgit v1.2.3-70-g09d2