backporting from staff-client-experiment: tar up the build/ directory for convenience
[Evergreen.git] / Open-ILS / xul / staff_client / Makefile.am
index ea489c3..dbc6420 100644 (file)
@@ -10,7 +10,7 @@ SKIN_CSS = $$(ls -1 server/skin/*css | sed -e "s/.css/_custom.css/")
 
 install-exec-local: build
 
-build: build_dir chrome2remote localize_manifest generated custom_skins open-ils stamp
+build: build_dir chrome2remote localize_manifest generated custom_skins open-ils stamp bundle
        @echo To test the staff client:
        @echo "  cd build/"
        @echo "  xulrunner application.ini"
@@ -58,6 +58,10 @@ stamp:
        @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then find build/ -name '*.js' -exec sed -i s/xul\\\/server/xul\\\/${STAFF_CLIENT_BUILD_ID}\\\/server/g {} \; ; fi
        @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then find build/ -name '*.xml' -exec sed -i s/xul\\\/server/xul\\\/${STAFF_CLIENT_BUILD_ID}\\\/server/g {} \; ; fi
 
+bundle:
+       @tar cvf build.tar build/
+       @mv build.tar build/
+
 generated:
        @echo ' * Grabbing lang.dtd from the OPAC code '
        @cp @top_srcdir@/Open-ILS/web/opac/locale/en-US/lang.dtd build/chrome/locale/en-US/