[Pkg-voip-commits] r4296 - portaudio/trunk/debian

kilian at alioth.debian.org kilian at alioth.debian.org
Sun Aug 26 10:35:07 UTC 2007


Author: kilian
Date: 2007-08-26 10:35:07 +0000 (Sun, 26 Aug 2007)
New Revision: 4296

Modified:
   portaudio/trunk/debian/changelog
   portaudio/trunk/debian/rules
Log:
* Don't ignore make clean errors.
* Don't build arch=all in binary build.

Modified: portaudio/trunk/debian/changelog
===================================================================
--- portaudio/trunk/debian/changelog	2007-08-26 10:09:44 UTC (rev 4295)
+++ portaudio/trunk/debian/changelog	2007-08-26 10:35:07 UTC (rev 4296)
@@ -5,8 +5,10 @@
   [ Kilian Krause ]
   * Use ${binary:Version} for binMMU-safe uploads.
     Add dpkg-dev (>= 1.13.19) to Build-Depends.
+  * Don't ignore make clean errors.
+  * Don't build arch=all in binary build.
 
- -- Kilian Krause <kilian at debian.org>  Sat, 18 Aug 2007 22:10:05 +0200
+ -- Kilian Krause <kilian at debian.org>  Sun, 26 Aug 2007 12:32:00 +0200
 
 portaudio (18.1-6) unstable; urgency=low
 

Modified: portaudio/trunk/debian/rules
===================================================================
--- portaudio/trunk/debian/rules	2007-08-26 10:09:44 UTC (rev 4295)
+++ portaudio/trunk/debian/rules	2007-08-26 10:35:07 UTC (rev 4296)
@@ -47,53 +47,61 @@
 
 
 build: build-stamp
-build-stamp:  config
+build-stamp: config
 	dh_testdir
-
 	$(MAKE) lib/libportaudio.la
-
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
-
-	-$(MAKE) distclean
-
+	[ ! -f Makefile ]||$(MAKE) distclean
 	$(MAKE) -f $(CURDIR)/debian/rules unpatch
-
 	dh_clean 
 
-
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-
+	
 	install -d $(CURDIR)/debian/tmp/usr/lib
 	install -d $(CURDIR)/debian/tmp/usr/include
 	$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
 
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_install -i --sourcedir=debian/tmp
+	dh_compress -i --exclude=usr/share/doc/libportaudio-doc/docs
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
 
 # Build architecture-dependent files here.
 binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs --list-missing
-	dh_installexamples
-	dh_install --sourcedir=debian/tmp --list-missing
-	dh_strip
-	dh_compress --exclude=usr/share/doc/libportaudio-doc/docs
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs  -a
+	dh_installdocs --list-missing -a
+	dh_installexamples -a
+	dh_install -a --sourcedir=debian/tmp --list-missing
+	dh_strip -a
+	dh_compress -a --exclude=usr/share/doc/libportaudio-doc/docs
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"
@@ -104,5 +112,5 @@
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
 	@@dpatch-get-origtargz ../tarballs
 
-binary: binary-arch
+binary: binary-arch binary-indep
 .PHONY: build clean binary-arch binary install patch unpatch config




More information about the Pkg-voip-commits mailing list