backporting from staff-client-experiment: tar up the build/ directory for convenience
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 22 Feb 2009 01:08:58 +0000 (01:08 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 22 Feb 2009 01:08:58 +0000 (01:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12255 dcc99617-32d9-48b4-a31d-7c20da2025e4

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/