diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/common.mk b/common.mk deleted file mode 100644 index 92f26337..00000000 --- a/common.mk +++ /dev/null @@ -1,28 +0,0 @@ -topdir := $(dir $(lastword $(MAKEFILE_LIST))) -www = $(topdir)/../web-cache/www -artwork = $(topdir)/../web-cache/artwork -branding = $(artwork)/official-2013/optimized-text - -#JSMIN = cp $1 $2 -#JSMIN = compiler $1 -#JSMIN = uglify-js -nc $1 > $2 -JSMIN = { sed -n '1,/\*\//p' $1; closure-compiler --js $1; } > $2 - -%.min.js: %.js - $(call JSMIN,$<,$@) - -$(www)/http/%: - mkdir -p '$(@D)' - wget 'http://$*' -O '$@' - touch '$@' - -$(www)/https/%: - mkdir -p '$(@D)' - wget 'http://$*' -O '$@' - touch '$@' - -$(branding)/%: - gitget checkout 'git://projects.parabola.nu/artwork.git#branch=master' '$(artwork)' - make -C '$(branding)' - -.PHONY: PHONY |