gunnar: server Makefile,1.16,1.17

cvs at kolab.org cvs at kolab.org
Wed May 30 08:06:10 CEST 2007


Author: gunnar

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

Modified Files:
	Makefile 
Log Message:
Added dist-horde target to the Makefile.

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile	26 Apr 2007 15:21:02 -0000	1.16
+++ Makefile	30 May 2007 06:06:08 -0000	1.17
@@ -1,21 +1,72 @@
+BASE_PACKAGES=file                    \
+              spamassassin            \
+              clamav                  \
+              amavisd                 \
+              imap                    \
+              apache                  \
+              php                     \
+              openldap                \
+              imapd                   \
+              postfix                 \
+              perl-kolab              \
+              kolabd                  \
+              kolab-horde-fbview      \
+              kolab-horde-framework   \
+              kolab-resource-handlers \
+              php-smarty              \
+              kolab-webadmin          \
+
+BASE_FILES=obmtool      \
+           obmtool.conf \
+           README.1st
+
+.PHONY: dist
 dist:
 	rm -rf stage
 	mkdir stage
-	cd file && make dist
-	cd spamassassin && make dist
-	cd clamav && make dist
-	cd amavisd && make dist
-	cd imap && make dist
-	cd apache && make dist
-	cd php && make dist
-	cd openldap && make dist
-	cd imapd && make dist
-	cd postfix && make dist
-	cd perl-kolab && make -f Makefile.cvs dist
-	cd kolabd && make dist
-	cd kolab-horde-framework && make dist
-	cd kolab-horde-fbview && make dist
-	cd kolab-resource-handlers && make dist
-	cd php-smarty && make dist
-	cd kolab-webadmin && make dist
-	cd stage && cp ../obmtool ../obmtool.conf ../README.1st . && echo 'Remember to update obmtool.conf!'
+	for PKG in $(BASE_PACKAGES); \
+	do                           \
+	  make -C $$PKG dist;        \
+	done
+	cp $(BASE_FILES) stage/
+	echo 'Remember to update obmtool.conf!'
+
+HORDE_PACKAGES=kolab-webadmin      \
+               PEAR-PEAR           \
+               PEAR-Archive_Tar    \
+               PEAR-Auth_SASL      \
+               PEAR-Console_Getopt \
+               PEAR-Date           \
+               PEAR-Log            \
+               PEAR-Mail           \
+               PEAR-Mail_Mime      \
+               PEAR-Net_Sieve      \
+               PEAR-Net_Socket     \
+               horde-framework     \
+               horde-passwd        \
+               horde               \
+               horde-ingo          \
+               horde-imp           \
+               horde-kronolith     \
+               horde-mnemo         \
+               horde-nag           \
+               horde-turba
+
+.PHONY: dist-horde
+dist-horde: 
+	rm -rf stage
+	mkdir -p stage
+	for PKG in $(HORDE_PACKAGES);             \
+	do                                        \
+	  make -C $$PKG dist;                     \
+	  echo -e "\n==" >> stage/ChangeLog;      \
+	  echo "$$PKG" >> stage/ChangeLog;        \
+	  echo -e "==\n" >> stage/ChangeLog;      \
+	  cat $$PKG/ChangeLog >> stage/ChangeLog; \
+	done
+	cp README.webclient stage/README
+	cp obmtool-webclient.conf stage/obmtool.conf
+
+.PHONY: clean
+clean: 
+	rm -rf stage
\ No newline at end of file





More information about the commits mailing list