gunnar: server/make-helper package.mk,1.2,1.3

cvs at kolab.org cvs at kolab.org
Tue Jan 5 12:49:37 CET 2010


Author: gunnar

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

Modified Files:
	package.mk 
Log Message:
Disable target if no source has to be downloaded.

Index: package.mk
===================================================================
RCS file: /kolabrepository/server/make-helper/package.mk,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- package.mk	4 Jan 2010 23:02:19 -0000	1.2
+++ package.mk	5 Jan 2010 11:49:35 -0000	1.3
@@ -35,6 +35,9 @@
 $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
 	cp $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .
 
+
+ifeq ($(SOURCE_0),)
+else
 # Target for the source file in the src rpm directory.
 $(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_0): $(KOLABRPMSRC)/$(PACKAGE) $(SOURCE_0)
 	cp $(SOURCE_0) $(KOLABRPMSRC)/$(PACKAGE)/
@@ -42,6 +45,7 @@
 # Target for retrieving the source package
 $(SOURCE_0):
 	wget -c "$(SOURCE_URL)/$(SOURCE_0)"
+endif
 
 # Prepare the patch for the package.
 package.patch: $(PATCHES)





More information about the commits mailing list