[Pkg-voip-commits] r5347 - in /rtpproxy/trunk/debian: changelog rules

marcusb-guest at alioth.debian.org marcusb-guest at alioth.debian.org
Sat Mar 22 21:57:12 UTC 2008


Author: marcusb-guest
Date: Sat Mar 22 21:57:12 2008
New Revision: 5347

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5347
Log:
Clean up debian/rules.

Modified:
    rtpproxy/trunk/debian/changelog
    rtpproxy/trunk/debian/rules

Modified: rtpproxy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/rtpproxy/trunk/debian/changelog?rev=5347&op=diff
==============================================================================
--- rtpproxy/trunk/debian/changelog (original)
+++ rtpproxy/trunk/debian/changelog Sat Mar 22 21:57:12 2008
@@ -6,6 +6,7 @@
     (Closes: #470768)
   * debian/control: Do not build-depend on dpatch, there were no patches.
   * debian/control: Bump compat version to 5.
+  * debian/rules: Clean up.
   
   [ Kilian Krause ]
   * Don't ignore make clean error.

Modified: rtpproxy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/rtpproxy/trunk/debian/rules?rev=5347&op=diff
==============================================================================
--- rtpproxy/trunk/debian/rules (original)
+++ rtpproxy/trunk/debian/rules Sat Mar 22 21:57:12 2008
@@ -1,19 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
 
 CFLAGS = -Wall -g
 
@@ -32,7 +21,6 @@
 
 config.status: configure
 	dh_testdir
-	# Add here commands to configure the package.
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --sysconfdir=/etc 
 
 build-man:
@@ -50,12 +38,8 @@
 	dh_testroot
 	rm -f build-stamp debian/rtpproxy.8 
 	[ ! -f Makefile ]||$(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
 	dh_clean 
 
 install: build
@@ -63,24 +47,16 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-
-	# Add here commands to install the package into debian/rtpproxy.
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
+binary-indep: build install
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
-	dh_installexamples
 	dh_install
-	dh_installdebconf	
 	dh_installinit
 	dh_installman
 	dh_link
@@ -102,7 +78,6 @@
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
 	@@echo Downloading $(FILENAME) from $(URL) ...
 	@@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 build-man print-version get-orig-source




More information about the Pkg-voip-commits mailing list