[PhotoFloat] [PATCH] Allow specifying a custom CSS and JS compiler at build-time

Jerome Charaoui jerome at riseup.net
Mon Jan 27 17:50:35 CET 2014


As discussed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721567


diff --git a/web/Makefile b/web/Makefile
index dd112e9..eec5c88 100644
--- a/web/Makefile
+++ b/web/Makefile
@@ -7,8 +7,8 @@ CSS_MIN = $(CSS_DIR)/styles.min.css
 JS_MIN_FILES := $(sort $(patsubst %.js, %.min.js, $(filter-out
%.min.js, $(wildcard $(JS_DIR)/*.js))
 CSS_MIN_FILES := $(sort $(patsubst %.css, %.min.css, $(filter-out
%.min.css, $(wildcard $(CSS_DIR)/*

-JS_COMPILER = utils/google-compiler --warning_level QUIET
-CSS_COMPILER = utils/yuicompressor --type css
+JS_COMPILER ?= utils/google-compiler --warning_level QUIET
+CSS_COMPILER ?= utils/yuicompressor --type css

 .PHONY: all clean



More information about the PhotoFloat mailing list