summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 00:51:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 00:51:40 -0400
commit0e7d8abd052418a9dbf79aac43ad388d2d16b043 (patch)
treea883bd585046ba5be7561b3f315c8a57dcbbd15f /common.mk
parent67b87ed4c0abd593e2833b3aa6b969c2e2451b60 (diff)
parent98e3d3126710a827c1ea1296f38e3e29adf37857 (diff)
Merge branch 'mkjs' into archweb-generic
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk22
1 files changed, 0 insertions, 22 deletions
diff --git a/common.mk b/common.mk
deleted file mode 100644
index a0db5d70..00000000
--- a/common.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-topdir := $(dir $(lastword $(MAKEFILE_LIST)))
-www = $(topdir)/../web-cache/www
-
-#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 '$@'
-
-.PHONY: PHONY