[Python-modules-commits] r6991 - in packages/python-gasp/trunk/debian (rules)
ffm-guest at users.alioth.debian.org
ffm-guest at users.alioth.debian.org
Thu Nov 27 17:20:29 UTC 2008
Date: Thursday, November 27, 2008 @ 17:20:27
Author: ffm-guest
Revision: 6991
Try to get rules working again, still needs some work.
Modified:
packages/python-gasp/trunk/debian/rules
Modified: packages/python-gasp/trunk/debian/rules
===================================================================
--- packages/python-gasp/trunk/debian/rules 2008-11-27 11:28:13 UTC (rev 6990)
+++ packages/python-gasp/trunk/debian/rules 2008-11-27 17:20:27 UTC (rev 6991)
@@ -9,16 +9,12 @@
PACKAGE = python-gasp
+BRANCH_LOC = lp:gasp-code
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/.\..\..~bzr//' )
TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
.PHONY: get-orig-source
get-orig-source:
- rm -rf get-orig-source $(TARBALL)
- mkdir get-orig-source
- bzr export -r $(SVN_REVISION) $(BRANCH_LOC) \
- get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
- GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
- rm -rf get-orig-source
+ bzr export -r $(SVN_REVISION) $(BRANCH_LOC) ../$(PACKAGE)-$(SRC_VERSION).orig.tar.gz
echo " "$(TARBALL)" created; move it to the right destination to build the package"
More information about the Python-modules-commits
mailing list