[Commits] r1792 - sandbox/ahocevar/playground/ux/Printing/build
commits at geoext.org
commits at geoext.org
Thu Jan 21 11:28:26 CET 2010
Author: ahocevar
Date: 2010-01-21 11:28:26 +0100 (Thu, 21 Jan 2010)
New Revision: 1792
Modified:
sandbox/ahocevar/playground/ux/Printing/build/Makefile
Log:
fixed makefile.
Modified: sandbox/ahocevar/playground/ux/Printing/build/Makefile
===================================================================
--- sandbox/ahocevar/playground/ux/Printing/build/Makefile 2010-01-21 10:17:40 UTC (rev 1791)
+++ sandbox/ahocevar/playground/ux/Printing/build/Makefile 2010-01-21 10:28:26 UTC (rev 1792)
@@ -12,11 +12,11 @@
help:
@echo "Please use 'make <target>' where <target> is one or more of"
- @echo " clean to clean up after building"
+ @echo " clean to clean up after building"
@echo " examples to make the examples dir"
- @echo " lib to make a standalone dir of lib resources"
- @echo " zip to make a zip archive of a standalone lib"
- @echo " dist to make a zip archive of a standalone lib with examples"
+ @echo " lib to make a standalone dir of lib resources"
+ @echo " zip to make a zip archive of a standalone lib"
+ @echo " dist to make a zip archive of a standalone lib with examples"
@echo
@echo "Example use:"
@echo " make lib"
@@ -30,24 +30,27 @@
-rm -f $(ZIP_NAME)
examples:
+ @echo "Building examples."
mkdir -p $(LIB_NAME)/examples
rsync -au --exclude=.svn `pwd`/../examples `pwd`/$(LIB_NAME)
for file in `find $(LIB_NAME)/examples/ -name "*.html"`; do \
- sed -i "s/\.\.\/ux\/Printing\.js/\.\.\/script\/Printing\.js/g" $${file} ; \
- sed -i "s/printing-all-debug\.css/printing-all\.css/g" $${file} ; \
- done ;
+ sed -i "s/\.\.\/ux\/Printing\.js/\.\.\/script\/Printing\.js/g" $${file} ; \
+ sed -i "s/printing-all-debug\.css/printing-all\.css/g" $${file} ; \
+ done
resources:
- rsync -au --exclude=.svn `pwd`/../resources `pwd`/$(LIB_NAME)
-
- for file in `find $(CSS_DIR) -name "*.css"`; do \
- csstidy $${file} --template=highest $${file} ; \
- done ;
- echo "" > $(ALL_CSS)
- for filename in $(CSS_IMPORTS); do \
- cat $(CSS_DIR)/$${filename} >> $(ALL_CSS) ; \
- done ;
- -rm $(CSS_DIR)/printing-all-debug.css
+ @echo "Building resources."
+ mkdir -p $(LIB_NAME)/resources
+ rsync -au --exclude=.svn `pwd`/../resources `pwd`/$(LIB_NAME)
+ for file in `find $(CSS_DIR) -name "*.css"`; do \
+ csstidy $${file} --template=highest $${file} ; \
+ done ;
+
+ echo "" > $(ALL_CSS) ; \
+ for filename in $(CSS_IMPORTS); do \
+ cat $(CSS_DIR)/$${filename} >> $(ALL_CSS) ; \
+ done ; \
+ rm $(CSS_DIR)/printing-all-debug.css
lib: resources
@echo "Building the library."
More information about the Commits
mailing list