[med-svn] r19967 - trunk/package_template

Afif Elghraoui afif-guest at moszumanska.debian.org
Sun Aug 16 19:28:35 UTC 2015


Author: afif-guest
Date: 2015-08-16 19:28:34 +0000 (Sun, 16 Aug 2015)
New Revision: 19967

Modified:
   trunk/package_template/rules
Log:
Add hint to include /usr/share/dpkg/default.mk in d/rules

Including that file will set some useful variables, including
the Debian source package name, so that these don't have to be
manually parsed from the changelog.


Modified: trunk/package_template/rules
===================================================================
--- trunk/package_template/rules	2015-08-16 19:11:32 UTC (rev 19966)
+++ trunk/package_template/rules	2015-08-16 19:28:34 UTC (rev 19967)
@@ -11,10 +11,9 @@
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
 #GIT_TAG        := $(subst ~,_,$(VERSION))
 
-# alternatively to manually set those variables you can
-#  include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there.  Any hint whether dh might set variables in
-# a similar manner are welcome.
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
 
 %:
 	dh $@




More information about the debian-med-commit mailing list