[med-svn] r15506 - trunk/package_template
Andreas Tille
tille at moszumanska.debian.org
Thu Dec 12 08:34:06 UTC 2013
Author: tille
Date: 2013-12-12 08:34:06 +0000 (Thu, 12 Dec 2013)
New Revision: 15506
Modified:
trunk/package_template/rules
Log:
Comment before variables to leave it to the user to uncomment if needed
Modified: trunk/package_template/rules
===================================================================
--- trunk/package_template/rules 2013-12-12 07:17:44 UTC (rev 15505)
+++ trunk/package_template/rules 2013-12-12 08:34:06 UTC (rev 15506)
@@ -2,14 +2,14 @@
# DH_VERBOSE := 1
-# some helpful variables
+# some helpful variables - uncomment them if needed
# shamelessly stolen from http://jmtd.net/log/awk/
-DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-GIT_TAG := $(subst ~,_,$(VERSION))
+#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#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
More information about the debian-med-commit
mailing list