gnu-social/js/Makefile

19 lines
387 B
Makefile
Raw Normal View History

.fake: all clean
TARGETS=util.min.js extlib/json2.min.js extlib/jquery.cookie.min.js
UTIL_SOURCES=util.js xbImportNode.js geometa.js
all: $(TARGETS)
clean:
rm -f $(TARGETS)
util.min.js: $(UTIL_SOURCES)
cat $+ | yui-compressor --type js > $@
extlib/json2.min.js: extlib/json2.js
yui-compressor $+ > $@
extlib/jquery.cookie.min.js: extlib/jquery.cookie.js
yui-compressor $+ > $@