[pkg-kolab] r40 - trunk/kolab-webadmin/debian

Steffen Joeris white-guest at costa.debian.org
Mon Dec 19 15:00:34 UTC 2005


Author: white-guest
Date: 2005-12-19 15:00:34 +0000 (Mon, 19 Dec 2005)
New Revision: 40

Added:
   trunk/kolab-webadmin/debian/rules
Log:
* initial version of rules file


Added: trunk/kolab-webadmin/debian/rules
===================================================================
--- trunk/kolab-webadmin/debian/rules	2005-12-19 14:59:54 UTC (rev 39)
+++ trunk/kolab-webadmin/debian/rules	2005-12-19 15:00:34 UTC (rev 40)
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+config.status: configure
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-wsdocrootdir=/var/www/kolab --enable-phpdir=/usr/share/kolab-webadmin --enable-pkgdocdir=/usr/share/doc/kolab-webadmin
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	rm -f php/admin/locale/de/LC_MESSAGES/messages.mo
+	rm -f php/admin/locale/fr/LC_MESSAGES/messages.mo
+	rm -f php/admin/locale/nl/LC_MESSAGES/messages.mo
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/kolab-webadmin
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: trunk/kolab-webadmin/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kolab-devel mailing list