[Pkg-voip-commits] r3152 - in freepbx/trunk/debian: . contrib/template/debian

Diego Iastrubni elcuco-guest at alioth.debian.org
Wed Feb 14 12:06:26 CET 2007


Author: elcuco-guest
Date: 2007-02-14 12:06:26 +0100 (Wed, 14 Feb 2007)
New Revision: 3152

Modified:
   freepbx/trunk/debian/changelog
   freepbx/trunk/debian/contrib/template/debian/rules
Log:
update the template to suport dpatch


Modified: freepbx/trunk/debian/changelog
===================================================================
--- freepbx/trunk/debian/changelog	2007-02-13 17:31:19 UTC (rev 3151)
+++ freepbx/trunk/debian/changelog	2007-02-14 11:06:26 UTC (rev 3152)
@@ -10,6 +10,7 @@
   * freepbx-admin: fixed a problem which happens uninstall of buggy modules (fixes upstream bug 1731)
   * freepbx-admin: added a patch to support sqlite3, backport from trunk
   * asterisk-config-freepbx: sox is not longer a requirement, it's only recommended now
+  * Utility for creating the modules, has been updated to support dpatch
 
   [ Chris Halls ]
   * freepbx-panel: op-panel now uses asterisk user

Modified: freepbx/trunk/debian/contrib/template/debian/rules
===================================================================
--- freepbx/trunk/debian/contrib/template/debian/rules	2007-02-13 17:31:19 UTC (rev 3151)
+++ freepbx/trunk/debian/contrib/template/debian/rules	2007-02-14 11:06:26 UTC (rev 3152)
@@ -9,6 +9,8 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
+-include /usr/share/dpatch/dpatch.make
+
 MODULE_NAME=$(shell basename $(PWD))
 DESTDIR=/tmp/debuild-svn/$(MODULE_NAME)
 DEBVERSION=$(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
@@ -24,18 +26,19 @@
 endif
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch-stamp
 	dh_testdir
 	touch configure-stamp
 
 
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp: configure-stamp patch-stamp
 	dh_testdir
 	touch build-stamp
 
-clean:
+clean: clean-unpatched unpatch
+clean-unpatched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
@@ -81,4 +84,5 @@
 	mv $(FILENAME) ../tarballs
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure patch
+	
\ No newline at end of file




More information about the Pkg-voip-commits mailing list