gunnar: server/make-helper package.mk,1.9,1.10

cvs at kolab.org cvs at kolab.org
Mon Jan 18 11:57:02 CET 2010


Author: gunnar

Update of /kolabrepository/server/make-helper
In directory doto:/tmp/cvs-serv25392/make-helper

Modified Files:
	package.mk 
Log Message:
Fix copying to the staging area. We need a marker in the directory rather than using the directory as it will change its modification time with files placed in the staging area.

Index: package.mk
===================================================================
RCS file: /kolabrepository/server/make-helper/package.mk,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- package.mk	17 Jan 2010 13:03:48 -0000	1.9
+++ package.mk	18 Jan 2010 10:57:00 -0000	1.10
@@ -74,9 +74,10 @@
 endif
 
 # Prepare the staging area
-$(STAGING):
+$(STAGING)/.dir:
 	mkdir -p $(STAGING)
+	touch $(STAGING)/.dir
 
 # Final package location
-$(STAGING)/$(RELEASETARGET): $(STAGING) $(RELEASETARGET)
+$(STAGING)/$(RELEASETARGET): $(STAGING)/.dir $(RELEASETARGET)
 	cp $(RELEASETARGET) $(STAGING)





More information about the commits mailing list