[open-ils-commits] r11119 - trunk/Open-ILS/xul/staff_client
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 10 14:40:40 EST 2008
Author: phasefx
Date: 2008-11-10 14:40:31 -0500 (Mon, 10 Nov 2008)
New Revision: 11119
Removed:
trunk/Open-ILS/xul/staff_client/Makefile.non-auto-tools
Log:
Let's find a better way to do that
Deleted: trunk/Open-ILS/xul/staff_client/Makefile.non-auto-tools
===================================================================
--- trunk/Open-ILS/xul/staff_client/Makefile.non-auto-tools 2008-11-10 18:21:25 UTC (rev 11118)
+++ trunk/Open-ILS/xul/staff_client/Makefile.non-auto-tools 2008-11-10 19:40:31 UTC (rev 11119)
@@ -1,50 +0,0 @@
-OPENSRF_LIBS = /openils/lib/
-OPENSRF_JSLIBS = "$(OPENSRF_LIBS)/javascript"
-
-install: build
-
-install-exec-local: build
-
-build: build_dir generated open-ils stamp
- @echo To test the staff client:
- @echo " cd build/"
- @echo " xulrunner application.ini"
-
-build_dir:
- @echo ' * Creating and populating build/ '
- mkdir -p build/
- cp -R chrome build/
- cp -R server build/
- cp -R defaults build/
- cp -R components build/
- cp application.ini build/
- cp -R build/chrome/content/util/ build/server/
- cp -R build/chrome/content/auth/ build/server/
- cp build/chrome/content/main/constants.js build/server/main/constants.js
- cp build/chrome/content/main/simple_auth.xul build/server/main/simple_auth.xul
- cp build/chrome/content/main/bindings.xml build/server/main/bindings.xml
- cp build/chrome/content/OpenILS/data.js build/server/OpenILS/data.js
- cp build/chrome/content/OpenILS/global_util.js build/server/OpenILS/global_util.js
- external/prune_dirs.sh build/
-
-stamp:
- @/bin/date +"%Y%m%d.%H%M%S" > build/BUILD_ID
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then ( echo "Stamping with Build ID: ${STAFF_CLIENT_BUILD_ID}" ; echo ${STAFF_CLIENT_BUILD_ID} > build/BUILD_ID ) ; fi
- @if [ -z "${STAFF_CLIENT_BUILD_ID}" ]; then ( echo "No Build ID for versioning" ; echo "none" > build/BUILD_ID ) ; fi
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then sed -i s/^Version=.\*/Version=${STAFF_CLIENT_BUILD_ID}/ build/application.ini ; fi
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then sed -i s/^BuildID=.\*/BuildID=${STAFF_CLIENT_BUILD_ID}/ build/application.ini ; fi
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then find build/ -name '*.xul' -exec sed -i s/xul\\\/server/xul\\\/${STAFF_CLIENT_BUILD_ID}\\\/server/g {} \; ; fi
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then find build/ -name '*.html' -exec sed -i s/xul\\\/server/xul\\\/${STAFF_CLIENT_BUILD_ID}\\\/server/g {} \; ; fi
- @if [ -n "${STAFF_CLIENT_BUILD_ID}" ]; then find build/ -name '*.xhtml' -exec sed -i s/xul\\\/server/xul\\\/${STAFF_CLIENT_BUILD_ID}\\\/server/g {} \; ; fi
- @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
-
-generated:
- @echo ' * Grabbing lang.dtd from the OPAC code '
- cp ../../../Open-ILS/web/opac/locale/en-US/lang.dtd build/chrome/locale/en-US/
-
-open-ils:
- @echo ' * Grabbing more OPAC code and legacy code and custom code'
- cp ../../../Open-ILS/web/opac/common/js/*.js build/chrome/content/OpenILS/util/
- cp $(OPENSRF_JSLIBS)/*.js build/chrome/content/OpenILS/util/
- external/prune_dirs.sh build/
More information about the open-ils-commits
mailing list