[Pkg-voip-commits] r1388 - radiusclient-ng/trunk/debian
Jan Janak
janakj-guest at costa.debian.org
Mon Mar 13 13:52:36 UTC 2006
Author: janakj-guest
Date: 2006-03-13 13:52:36 +0000 (Mon, 13 Mar 2006)
New Revision: 1388
Modified:
radiusclient-ng/trunk/debian/rules
Log:
- dpatch support
Modified: radiusclient-ng/trunk/debian/rules
===================================================================
--- radiusclient-ng/trunk/debian/rules 2006-03-13 13:52:03 UTC (rev 1387)
+++ radiusclient-ng/trunk/debian/rules 2006-03-13 13:52:36 UTC (rev 1388)
@@ -9,6 +9,7 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -41,12 +42,9 @@
URL := http://ftp.iptel.org/pub/radiusclient-ng/radiusclient-ng-$(UPVERSION).tar.gz
-config.status: configure
+config.status: patch configure
dh_testdir
# Add here commands to configure the package.
- aclocal
- automake
- autoconf
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc
@@ -59,7 +57,9 @@
touch build-stamp
-clean:
+clean: clean-patched unpatch
+
+clean-patched:
dh_testdir
dh_testroot
rm -f build-stamp
@@ -73,7 +73,6 @@
cp -f /usr/share/misc/config.guess config.guess
endif
-
dh_clean
install: build
@@ -132,4 +131,4 @@
@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch
More information about the Pkg-voip-commits
mailing list