[med-svn] r1825 - trunk/packages/libgenome/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Mon May 5 13:06:11 UTC 2008


Author: tille
Date: 2008-05-05 13:06:10 +0000 (Mon, 05 May 2008)
New Revision: 1825

Modified:
   trunk/packages/libgenome/trunk/debian/changelog
   trunk/packages/libgenome/trunk/debian/rules
Log:
Better factorisation to use rules file in other projects as well


Modified: trunk/packages/libgenome/trunk/debian/changelog
===================================================================
--- trunk/packages/libgenome/trunk/debian/changelog	2008-05-05 04:09:37 UTC (rev 1824)
+++ trunk/packages/libgenome/trunk/debian/changelog	2008-05-05 13:06:10 UTC (rev 1825)
@@ -2,8 +2,9 @@
 
   * New upstream snapshot
   * Added get-orig-source target
+  * debian/rules: more consequent usage of variables
 
- -- Andreas Tille <tille at debian.org>  Thu, 17 Apr 2008 11:58:50 +0200
+ -- Andreas Tille <tille at debian.org>  Mon, 05 May 2008 14:58:11 +0200
 
 libgenome (1.3.0-5) unstable; urgency=low
 

Modified: trunk/packages/libgenome/trunk/debian/rules
===================================================================
--- trunk/packages/libgenome/trunk/debian/rules	2008-05-05 04:09:37 UTC (rev 1824)
+++ trunk/packages/libgenome/trunk/debian/rules	2008-05-05 13:06:10 UTC (rev 1825)
@@ -11,12 +11,13 @@
 
 common-binary-post-install-arch::
 	# Call d-shlibmove to comply with library packaging guide
-	d-devlibdeps debian/libgenome1-dev.substvars \
-	             debian/tmp/usr/lib/libGenome-$(version).so
+	d-devlibdeps debian/$(pkg)1-dev.substvars \
+	             debian/tmp/usr/lib/$(name)-$(version).so
 	# /bin/sh debian/debug/
 	mv debian/tmp/usr/include/*/* debian/tmp/usr/include/
 	# cp -a doc/html/* debian/tmp/usr/share/doc/html
-	/bin/bash debian/d-shlibmove --commit \
+	/bin/bash debian/d-shlibmove \
+	            --commit \
 		    --movedev "debian/tmp/usr/include/$(name)" usr/include/$(name)-$(version) \
 		    --movedev "$(name)-$(version).pc" usr/share/pkgconfig \
 		    debian/tmp/usr/lib/$(name)-$(version).so
@@ -27,4 +28,4 @@
 	. debian/get-orig-source
 
 clean::
-	rm -f debian/libgenome1-dev.substvars
+	rm -f debian/$(pkg)1-dev.substvars




More information about the debian-med-commit mailing list