steffen: server/postfix Makefile,1.11.2.1,1.11.2.2

cvs at intevation.de cvs at intevation.de
Wed Jan 11 05:42:42 CET 2006


Author: steffen

Update of /kolabrepository/server/postfix
In directory doto:/tmp/cvs-serv7268/postfix

Modified Files:
      Tag: kolab_2_0_branch
	Makefile 
Log Message:
version + updates Makefiles to build everything from the toplevel

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/postfix/Makefile,v
retrieving revision 1.11.2.1
retrieving revision 1.11.2.2
diff -u -d -r1.11.2.1 -r1.11.2.2
--- Makefile	19 Jul 2005 21:00:59 -0000	1.11.2.1
+++ Makefile	11 Jan 2006 04:42:40 -0000	1.11.2.2
@@ -8,22 +8,27 @@
   KOLABCVSDIR = $(CURDIR)
 endif
 
+PACKAGE=postfix
 VERSION=2.2.3
 RELEASE=2.4.1
+KOLABRELEASE=2.4.1_kolab
 
 RPM=/kolab/bin/openpkg rpm
- 
-all: postfix-$(VERSION)-$(RELEASE).src.rpm
-	$(RPM) -ihv postfix-$(VERSION)-$(RELEASE).src.rpm
 
-	cp $(KOLABCVSDIR)/postfix-ldap-leafonly.patch $(KOLABRPMSRC)/postfix/
-	cp $(KOLABCVSDIR)/postfix-pipe-allow-empty-sender.patch $(KOLABRPMSRC)/postfix/
-	cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/postfix/           # Patch for postfix.spec
+all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+	$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
 
-	cd $(KOLABRPMSRC)/postfix && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba postfix.spec --define 'with_ldap yes' --define 'with_sasl yes' --define 'with_ssl yes'
+	cp $(KOLABCVSDIR)/postfix-ldap-leafonly.patch $(KOLABRPMSRC)/$(PACKAGE)/
+	cp $(KOLABCVSDIR)/postfix-pipe-allow-empty-sender.patch $(KOLABRPMSRC)/$(PACKAGE)/
+	cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/           # Patch for postfix.spec
 
-postfix-$(VERSION)-$(RELEASE).src.rpm:
-	wget -c $(KOLABPKGURI)/postfix-$(VERSION)-$(RELEASE).src.rpm
+	cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec --define 'with_ldap yes' --define 'with_sasl yes' --define 'with_ssl yes'
+
+$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
+	wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+
+dist: all
+	cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
 
 clean:
 	rm -rf /kolab/RPM/TMP/cyrus-imapd* cyrus* imapd* rc.imapd vhosthack.patch fsl.imapd groupfile.patch





More information about the commits mailing list