[Pkg-voip-commits] r4297 - portaudio19/trunk/debian

kilian at alioth.debian.org kilian at alioth.debian.org
Sun Aug 26 10:36:19 UTC 2007


Author: kilian
Date: 2007-08-26 10:36:18 +0000 (Sun, 26 Aug 2007)
New Revision: 4297

Modified:
   portaudio19/trunk/debian/changelog
   portaudio19/trunk/debian/rules
Log:
* Don't ignore make clean errors.

Modified: portaudio19/trunk/debian/changelog
===================================================================
--- portaudio19/trunk/debian/changelog	2007-08-26 10:35:07 UTC (rev 4296)
+++ portaudio19/trunk/debian/changelog	2007-08-26 10:36:18 UTC (rev 4297)
@@ -5,8 +5,9 @@
   [ Kilian Krause ]
   * Use ${binary:Version} for binNMU-safe uploads.
     Add dpkg-dev (>= 1.13.19) to Build-Depends
+  * Don't ignore make clean errors.
 
- -- Kilian Krause <kilian at debian.org>  Sat, 18 Aug 2007 22:11:15 +0200
+ -- Kilian Krause <kilian at debian.org>  Sun, 26 Aug 2007 12:36:09 +0200
 
 portaudio19 (19+svn20070125-1) unstable; urgency=low
 

Modified: portaudio19/trunk/debian/rules
===================================================================
--- portaudio19/trunk/debian/rules	2007-08-26 10:35:07 UTC (rev 4296)
+++ portaudio19/trunk/debian/rules	2007-08-26 10:36:18 UTC (rev 4297)
@@ -73,44 +73,36 @@
 	dh_testdir
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-cxx $(CONFIGURE_SOUND_ARGS)
 
-
 build: config build-stamp
 build-stamp:
 	dh_testdir
-
 	$(MAKE) lib/libportaudio.la
 	$(MAKE) -C bindings/cpp
 	doxygen
-
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
-
-	-$(MAKE) -C bindings/cpp/doc distclean
-	-$(MAKE) -C bindings/cpp distclean
-	-$(MAKE) distclean
+	[ ! -f bindings/cpp/doc/Makefile ]||$(MAKE) -C bindings/cpp/doc distclean
+	[ ! -f bindings/cpp/Makefile ]||$(MAKE) -C bindings/cpp distclean
+	[ ! -f Makefile ]||$(MAKE) distclean
 	$(RM) -r lib/.libs
 	$(RM) doc/html/*
-
 	$(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 DESTDIR=$(CURDIR)/debian/tmp
 
-
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir -i
@@ -126,7 +118,6 @@
 	dh_md5sums -i
 	dh_builddeb -i
 
-
 # Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir -a
@@ -137,7 +128,6 @@
 	dh_strip -a
 	dh_compress -a --exclude=usr/share/doc/portaudio19-doc/docs
 	dh_fixperms -a
-#	dh_makeshlibs -a
 	dh_makeshlibs -a -V 'libportaudio2 (>= 19+cvs20060311-1)'
 	dh_installdeb -a
 	dh_shlibdeps -a
@@ -145,7 +135,6 @@
 	dh_md5sums -a
 	dh_builddeb -a
 
-
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"
 	@@echo "Upstream version:        $(UPVERSION)"




More information about the Pkg-voip-commits mailing list