[med-svn] [arden] 03/04: Polish d/rules
Andreas Tille
tille at debian.org
Fri Feb 7 13:50:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository arden.
commit f0aec28952c5328395781d2a458be15ea390b87a
Author: Andreas Tille <tille at debian.org>
Date: Fri Feb 7 14:53:06 2014 +0100
Polish d/rules
---
debian/rules | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/debian/rules b/debian/rules
index 7f1cd64..1c51bff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,27 +2,13 @@
# DH_VERBOSE := 1
-# 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))
-
-# 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.
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
%:
dh $@ --with python2
override_dh_install:
dh_install
- touch debian/arden/usr/share/pyshared/arden/__init__.py
- touch debian/arden/usr/share/pyshared/arden/core/__init__.py
+ touch debian/$(DEBPKGNAME)/usr/share/pyshared/$(DEBPKGNAME)/__init__.py
+ touch debian/$(DEBPKGNAME)/usr/share/pyshared/$(DEBPKGNAME)/core/__init__.py
-#get-orig-source:
-# . debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/arden.git
More information about the debian-med-commit
mailing list