summaryrefslogtreecommitdiff
path: root/unrpyc
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-24 15:52:23 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-24 15:52:23 -0500
commitced7ede3cd0853c9954bda518aaf546d3a0e5389 (patch)
tree6b491ba47d8c652896492ba0dc4104610ff3bc0a /unrpyc
parent9b826f343fc6569b6fd8eebb4eec1be89f6476f9 (diff)
downloadhtml5ks-ced7ede3cd0853c9954bda518aaf546d3a0e5389.tar.xz
html5ks-ced7ede3cd0853c9954bda518aaf546d3a0e5389.zip
obsolete setup.sh
Diffstat (limited to 'unrpyc')
-rw-r--r--unrpyc/Makefile6
-rwxr-xr-xunrpyc/find-gzip.sh5
2 files changed, 5 insertions, 6 deletions
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