[Pkg-jed-commit] r312 - trunk/packages/jed/debian
Guenter Milde
milde-guest at costa.debian.org
Fri Jun 2 08:45:05 UTC 2006
Author: milde-guest
Date: 2006-06-02 08:45:04 +0000 (Fri, 02 Jun 2006)
New Revision: 312
Modified:
trunk/packages/jed/debian/rules
Log:
Variable for upstream version
Modified: trunk/packages/jed/debian/rules
===================================================================
--- trunk/packages/jed/debian/rules 2006-06-02 08:40:51 UTC (rev 311)
+++ trunk/packages/jed/debian/rules 2006-06-02 08:45:04 UTC (rev 312)
@@ -9,6 +9,11 @@
jed-common=$(CURDIR)/debian/jed-common
temp=debian/tmp
+# get upstream version from changelog (FIXME)
+# UPSTREAM_VERSION = $(shell perl -ne '/([\d.]+)-/; print $$1; exit' < \
+# $(dir $(firstword $(MAKEFILE_LIST)))/changelog)
+UPSTREAM_VERSION=0.99-18
+
clean: unpatch
dh_testdir
dh_clean
@@ -137,8 +142,8 @@
binary: binary-arch binary-indep
-get-orig-source:
- wget ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-18.tar.gz
- mv jed-0.99-18.tar.gz jed-0.99-18.orig.tar.gz
+get-orig-source:
+ wget ftp://space.mit.edu/pub/davis/jed/v0.99/jed-$(UPSTREAM_VERSION).tar.gz
+ mv jed-$(UPSTREAM_VERSION).tar.gz jed-$(UPSTREAM_VERSION).orig.tar.gz
.PHONY: build clean binary binary-arch binary-indep get-orig-source
More information about the Pkg-jed-commit
mailing list