[Debian-med-packaging] [med-svn] r13266 - trunk/package_template
Andreas Tille
andreas at an3as.eu
Sat Apr 6 12:48:24 UTC 2013
On Sat, Apr 06, 2013 at 04:24:17PM +0900, Charles Plessy wrote:
> > Or do you mean it would be best to simply include the file?
>
> Yes, that is what I meant. The CDBS package does not depend on any other
> package and only recommends autotools-dev.
I just commited:
$ svn diff
Index: rules
===================================================================
--- rules (Revision 13266)
+++ rules (Arbeitskopie)
@@ -11,6 +11,11 @@
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.
+
%:
dh $@
Is this OK for you?
Kind regards
Andreas.
PS: I'm afraid I'm the only one using this template considering how many
dh_make cruft is sometimes hanging around in our packaging stuff.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list