[Python-apps-commits] r7406 - in packages/go2/trunk/debian (changelog rules)

davidvilla-guest at users.alioth.debian.org davidvilla-guest at users.alioth.debian.org
Fri Aug 5 16:19:03 UTC 2011


    Date: Friday, August 5, 2011 @ 16:19:01
  Author: davidvilla-guest
Revision: 7406

new release

Modified:
  packages/go2/trunk/debian/changelog
  packages/go2/trunk/debian/rules

Modified: packages/go2/trunk/debian/changelog
===================================================================
--- packages/go2/trunk/debian/changelog	2011-08-05 15:35:11 UTC (rev 7405)
+++ packages/go2/trunk/debian/changelog	2011-08-05 16:19:01 UTC (rev 7406)
@@ -1,3 +1,9 @@
+go2 (0.20110805-1) unstable; urgency=low
+
+  * New upstream release
+
+ --  <david at fry>  Fri, 05 Aug 2011 18:13:14 +0200
+
 go2 (0.20110717-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/go2/trunk/debian/rules
===================================================================
--- packages/go2/trunk/debian/rules	2011-08-05 15:35:11 UTC (rev 7405)
+++ packages/go2/trunk/debian/rules	2011-08-05 16:19:01 UTC (rev 7406)
@@ -4,15 +4,14 @@
 APP=go2
 ORIG_REPO=hg clone http://hg.savannah.nongnu.org/hgweb/go2
 ORIG_DIR=$(APP)-$(VERSION)
+EXCLUDE=--exclude=debian --exclude=\*~ --exclude=.hg --exclude=.svn --exclude=\*.pyc
 
-DBK2MAN_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
-
 %:
-	dh --with=python2 $@
+	dh $@ --with=python2
 
 override_dh_auto_build:
 	dh_auto_build
-	xsltproc --nonet  --param man.charmap.use.subset "0" $(DBK2MAN_XSL) debian/go2.xml
+	rst2man go2.rst
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -20,7 +19,12 @@
 
 get-orig:
 	$(ORIG_REPO) $(ORIG_DIR)
-	tar --exclude=debian --exclude=\*~ --exclude=.hg --exclude=\*.pyc \
-	 	-czf \
-	../tarballs/$(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
+	tar $(EXCLUDE) -czf ../tarballs/$(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
 	$(RM) -r $(ORIG_DIR)
+
+# FOR UPSTREAM USE ONLY!
+build-orig:
+	mkdir -p $(ORIG_DIR)
+	tar $(EXCLUDE) --exclude=$(ORIG_DIR) -cf - . | ( cd $(ORIG_DIR) && tar xf - )
+	tar -czf ../$(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
+	$(RM) -r $(ORIG_DIR)




More information about the Python-apps-commits mailing list