]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - js/Makefile
Remove json2 author's "don't hotlink my script pls" alert line from our local copy...
[quix0rs-gnu-social.git] / js / Makefile
index e7ae44e4214b6c556dc5655d46fa2cc8c140cfee..2f3dfcdf70ff253a3e294105028c6e95d72a0267 100644 (file)
@@ -1,12 +1,15 @@
 .fake: all clean
 
-TARGETS=util.min.js
-SOURCES=util.js xbImportNode.js geometa.js
+TARGETS=util.min.js json2.min.js
+UTIL_SOURCES=util.js xbImportNode.js geometa.js
 
 all: $(TARGETS)
 
 clean:
        rm -f $(TARGETS)
 
-util.min.js: $(SOURCES)
+util.min.js: $(UTIL_SOURCES)
        cat $+ | yui-compressor --type js > $@
+
+json2.min.js: json2.js
+       yui-compressor $+ > $@