]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - js/Makefile
Notice form cleanup: removing hardcoded id from counter references; prep for reusable...
[quix0rs-gnu-social.git] / js / Makefile
index 00e43471416e78b4e20d2e1aee2977fe815844b5..2f3dfcdf70ff253a3e294105028c6e95d72a0267 100644 (file)
@@ -1,11 +1,15 @@
 .fake: all clean
 
-TARGETS=util.min.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: util.js
-       yui-compressor $< -o $@
+util.min.js: $(UTIL_SOURCES)
+       cat $+ | yui-compressor --type js > $@
+
+json2.min.js: json2.js
+       yui-compressor $+ > $@