Author: doogie
Date: Fri Nov 14 10:03:59 2008
New Revision: 714085
URL:
http://svn.apache.org/viewvc?rev=714085&view=revLog:
Use a stamps dir to save from having to compile ofbiz all the time.
Modified:
ofbiz/trunk/debian/ (props changed)
ofbiz/trunk/debian/rules
Propchange: ofbiz/trunk/debian/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Nov 14 10:03:59 2008
@@ -8,3 +8,4 @@
ofbiz.postinst.debhelper
ofbiz.postrm.debhelper
ofbiz.substvars
+stamps
Modified: ofbiz/trunk/debian/rules
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/debian/rules?rev=714085&r1=714084&r2=714085&view=diff==============================================================================
--- ofbiz/trunk/debian/rules (original)
+++ ofbiz/trunk/debian/rules Fri Nov 14 10:03:59 2008
@@ -45,18 +45,20 @@
clean-debian:
dh_clean
rm -f debian/EncryptPassword.class
- rm -rf runtime/catalina/work
+ rm -rf runtime/catalina/work debian/stamps
clean: clean-debian
ant clean-all
debconf-updatepo
-build: build-ofbiz debian/EncryptPassword.class
-build-ofbiz:
+build: debian/stamps/build-ofbiz debian/EncryptPassword.class
+build-ofbiz: debian/stamps/build-ofbiz
+debian/stamps/build-ofbiz:
ant
+ @mkdir -p $(@D) && touch $@
debian/EncryptPassword.class: %.class: %.java
-debian/EncryptPassword.class: build-ofbiz
+debian/EncryptPassword.class: debian/stamps/build-ofbiz
$(JAVAC) -classpath framework/base/build/lib/ofbiz-base.jar:framework/common/build/lib/ofbiz-common.jar -d $(@D) $*.java