[Python-apps-commits] r7341 - in packages/atheist/trunk/debian (rules)
davidvilla-guest at users.alioth.debian.org
davidvilla-guest at users.alioth.debian.org
Mon Jul 18 22:17:32 UTC 2011
Date: Monday, July 18, 2011 @ 22:17:31
Author: davidvilla-guest
Revision: 7341
get-source
Modified:
packages/atheist/trunk/debian/rules
Modified: packages/atheist/trunk/debian/rules
===================================================================
--- packages/atheist/trunk/debian/rules 2011-07-18 19:31:02 UTC (rev 7340)
+++ packages/atheist/trunk/debian/rules 2011-07-18 22:17:31 UTC (rev 7341)
@@ -1,7 +1,9 @@
#!/usr/bin/make -f
VERSION=$(shell head -n 1 debian/changelog | cut -f2 -d " " | tr -d "()" | cut -f1 -d "-")
-ORIG_DIR=atheist-$(VERSION)
+APP=atheist
+ORIG_REPO=hg clone http://hg.savannah.nongnu.org/hgweb/atheist
+ORIG_DIR=$(APP)-$(VERSION)
DEB_PYTHON_SYSTEM=pysupport
@@ -37,9 +39,9 @@
-$(RM) debian/atheist.1 debian/atheist.xml
$(MAKE) -C doc clean
-get-orig-source:
- hg clone http://hg.savannah.nongnu.org/hgweb/atheist $(ORIG_DIR)
+get-orig:
+ $(ORIG_REPO) $(ORIG_DIR)
tar --exclude=debian --exclude=\*~ --exclude=.hg --exclude=\*.pyc \
-czf \
- ../tarballs/atheist_$(VERSION).orig.tar.gz $(ORIG_DIR)
+ ../tarballs/$(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
$(RM) -r $(ORIG_DIR)
More information about the Python-apps-commits
mailing list