[Python-modules-commits] r25298 - in packages/fedmsg/trunk/debian (rules)

laarmen-guest at users.alioth.debian.org laarmen-guest at users.alioth.debian.org
Mon Jul 29 13:24:38 UTC 2013


    Date: Monday, July 29, 2013 @ 13:24:36
  Author: laarmen-guest
Revision: 25298

Add a get-orig-source target to d/rules

Modified:
  packages/fedmsg/trunk/debian/rules

Modified: packages/fedmsg/trunk/debian/rules
===================================================================
--- packages/fedmsg/trunk/debian/rules	2013-07-28 23:18:59 UTC (rev 25297)
+++ packages/fedmsg/trunk/debian/rules	2013-07-29 13:24:36 UTC (rev 25298)
@@ -22,7 +22,7 @@
 	mkdir -p debian/tmp/manpages
 	set -e; \
 	for s in $(shell ls debian/tmp/usr/bin); do \
-		PYTHONPATH="$(shell pwd)" help2man -n "Manpages for the fedmsg suite" --version-string="$UPSTREAM" debian/tmp/usr/bin/$$s > debian/tmp/manpages/$$s.1; \
+		PYTHONPATH="$(shell pwd)" help2man -n "Manpages for the fedmsg suite" --version-string="$(UPSTREAM)" debian/tmp/usr/bin/$$s > debian/tmp/manpages/$$s.1; \
 	done
 	dh_installman -ppython-fedmsg debian/tmp/manpages/*
 
@@ -44,3 +44,8 @@
 	# 	$$py setup.py test \
 	# done
 endif
+
+get-orig-source:
+	git clone --bare git://github.com/fedora-infra/fedmsg.git /tmp/fedmsg.git/
+	git --git-dir=/tmp/fedmsg.git archive $(shell echo $(UPSTREAM) | cut -d + -f 2  | cut -d . -f 3) | gzip > ../fedmsg_"$(UPSTREAM)".orig.tar.gz
+	rm -rf /tmp/fedmsg.git/




More information about the Python-modules-commits mailing list