]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
clean up makefile a bit 167/head
authorRocky Meza <rocky@fusionbox.com>
Sun, 12 Feb 2012 03:08:41 +0000 (20:08 -0700)
committerRocky Meza <rocky@fusionbox.com>
Sun, 12 Feb 2012 03:08:41 +0000 (20:08 -0700)
Makefile

index 400d818c1c4d7a6281881bb58e622a470438c1a1..2677eec2b176e7081476c69665bdebba8097aa10 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,5 @@
 LANG_ALL = $(wildcard lang/*.js)
 MIN_LANG_ALL = $(addprefix min/,$(LANG_ALL))
-LANGTESTS = $(wildcard test/lang/*.js)
-TEST_ALL = test/prefix/prefix.js test/non-lang-tests.js test/lang/*.js test/prefix/suffix.js 
-
-MIN_DIR = min/
 
 
 .PHONY: all
@@ -30,7 +26,7 @@ min/lang/%: lang/%
        node_modules/.bin/uglifyjs -o $@ $<
 
 min/lang-all.min.js: $(LANG_ALL)
-       cat $(LANG_ALL) | node_modules/.bin/uglifyjs -o $@
+       cat $^ | node_modules/.bin/uglifyjs -o $@
 
 .PHONY: langs
 langs: min/lang/ $(MIN_LANG_ALL) min/lang-all.min.js