steffen: server/imap Makefile,1.2.2.1,1.2.2.2
cvs at intevation.de
cvs at intevation.de
Wed Jan 11 05:42:42 CET 2006
Author: steffen
Update of /kolabrepository/server/imap
In directory doto:/tmp/cvs-serv7268/imap
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/imap/Makefile,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- Makefile 19 Jul 2005 21:00:59 -0000 1.2.2.1
+++ Makefile 11 Jan 2006 04:42:40 -0000 1.2.2.2
@@ -11,19 +11,24 @@
PACKAGE=imap
VERSION=2004d
RELEASE=2.4.0
+KOLABRELEASE=2.4.0_kolab
RPM=/kolab/bin/openpkg rpm
-
+KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
+
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for imap.spec
cp $(KOLABCVSDIR)/imap.annotate.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch to add annotate support
-
+
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec --define 'with_annotate yes'
-
+
imap-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/imap-$(VERSION)-$(RELEASE).src.rpm
+
+dist: all
+ cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
rm -rf /kolab/RPM/TMP/imap-*
More information about the commits
mailing list