[Pkg-voip-commits] r5295 - /ser/trunk/debian/rules

marcusb-guest at alioth.debian.org marcusb-guest at alioth.debian.org
Sun Mar 16 15:18:40 UTC 2008


Author: marcusb-guest
Date: Sun Mar 16 15:18:39 2008
New Revision: 5295

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5295
Log:
Cleanups and removal of dead configure target.

Modified:
    ser/trunk/debian/rules

Modified: ser/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ser/trunk/debian/rules?rev=5295&op=diff
==============================================================================
--- ser/trunk/debian/rules (original)
+++ ser/trunk/debian/rules Sun Mar 16 15:18:39 2008
@@ -1,8 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# $Id: rules,v 1.9.2.5 2005/11/02 17:48:44 andrei Exp $
 #
 # History:
 # --------
@@ -38,7 +34,6 @@
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
@@ -51,16 +46,9 @@
 
 export CFLAGS
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	touch configure-stamp
-
-
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp:
 	dh_testdir
 	CFLAGS="$(CFLAGS)" $(MAKE) $(MAKEARGS) all
 	touch build-stamp
@@ -79,21 +67,14 @@
 	dh_installdirs
 	$(MAKE) install $(MAKEARGS) basedir=$(CURDIR)/debian/tmp
 
-# This single target is used to build all the packages, all at once, or
-# one at a time. So keep in mind: any options passed to commands here will
-# affect _all_ packages. Anything you want to only affect one package
-# should be put in another target, such as the install target.
 binary-common: 
 	dh_testdir
 	dh_testroot
 	dh_install --sourcedir=debian/tmp
 	dh_installdocs
 	dh_installexamples
-	dh_installmenu
-	dh_installinit  -- defaults 23
-	dh_installcron
+	dh_installinit -- defaults 23
 	dh_installman
-	dh_installinfo
 	dh_installchangelogs 
 	dh_link
 	dh_strip
@@ -105,20 +86,10 @@
 	dh_md5sums
 	dh_builddeb
 
-# Build architecture-independent packages using the common target
 binary-indep: build install
-# (Uncomment this next line if you have such packages.)
-#        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-# We have nothing to do by default.
 
-
-# Build architecture-dependent packages using the common target
 binary-arch: build install
 	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-# Any other binary targets build just one binary package at a time.
-binary-%: build install
-	$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"
@@ -131,4 +102,5 @@
 	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
 
 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 \
+	binary-common print-version get-orig-source




More information about the Pkg-voip-commits mailing list