Author: paulcager-guest Date: 2007-02-08 11:59:43 +0100 (Thu, 08 Feb 2007) New Revision: 2985
Modified: trunk/javatar/debian/rules Log: Remove some hard-coded values in rules Modified: trunk/javatar/debian/rules =================================================================== --- trunk/javatar/debian/rules 2007-02-07 14:26:35 UTC (rev 2984) +++ trunk/javatar/debian/rules 2007-02-08 10:59:43 UTC (rev 2985) @@ -5,8 +5,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk -LIBRARY := javatar -VERSION := 2.5 +LIBRARY := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ') +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-) API_DOCS := tar-$(VERSION)/doc/api JAVA_HOME := /usr/lib/jvm/java-gcj ANT_HOME := /usr/share/ant _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

