[plexus-cdc] 03/27: simplify debian/rules
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Aug 30 09:29:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository plexus-cdc.
commit 40909c6d75e5b9a7f0157eb42b985579f2b0f5ff
Author: Torsten Werner <twerner at debian.org>
Date: Wed Dec 10 15:22:35 2008 +0000
simplify debian/rules
---
debian/rules | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 90b2672..8f960b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,10 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include debian/maven.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
-VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g" | sed 's,~alpha,-alpha-,')
-JAVA_HOME := /usr/lib/jvm/java-6-openjdk
-DEB_JARS := plexus-utils plexus-interpolation
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's,~alpha,-alpha-,')
+JAVA_HOME := /usr/lib/jvm/java-6-openjdk
+DEB_JARS := plexus-utils plexus-interpolation
get-orig-source:
sh -e debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-cdc.git
More information about the pkg-java-commits
mailing list