[Python-apps-commits] r4679 - in packages/ibid/trunk/debian (rules)
stefanor-guest at users.alioth.debian.org
stefanor-guest at users.alioth.debian.org
Fri Feb 5 13:36:54 UTC 2010
Date: Friday, February 5, 2010 @ 13:36:50
Author: stefanor-guest
Revision: 4679
Include latest docs
Modified:
packages/ibid/trunk/debian/rules
Modified: packages/ibid/trunk/debian/rules
===================================================================
--- packages/ibid/trunk/debian/rules 2010-02-05 13:26:56 UTC (rev 4678)
+++ packages/ibid/trunk/debian/rules 2010-02-05 13:36:50 UTC (rev 4679)
@@ -33,15 +33,18 @@
REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*bzr([0-9]+).*,\1,p')
VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: (.+)\+dfsg.*,\1,p')
BZR_REPO?=lp:ibid
+BZR_DOCS_REPO?=lp:~ibid-dev/ibid/docs
get-orig-source:
- if [ "$(REV)" = "" ]; then \
- uscan --noconf --force-download --rename --download-version=$(VER) --destdir=.; \
- else \
- bzr export -r $(REV) ibid-$(VER).tar.gz $(BZR_REPO); \
- mv ibid-$(VER).tar.gz ibid_$(VER).orig.tar.gz; \
- fi
+ifeq ($(REV),)
+ uscan --noconf --force-download --rename --download-version=$(VER) --destdir=.
tar -xf ibid_$(VER).orig.tar.gz
+ rm -f ibid_$(VER).orig.tar.gz
+else
+ bzr export -r $(REV) ibid-$(VER) $(BZR_REPO)
+ rm -rf ibid-$(VER)/docs
+ bzr export ibid-$(VER)/docs $(BZR_DOCS_REPO)/docs
+endif
cd ibid-$(VER)/factpacks/ && rm -f handey.json overlord.json wrestling.json zippy.json
GZIP=--best tar -czf ibid_$(VER)+dfsg.orig.tar.gz ibid-$(VER)
- rm -rf ibid-$(VER) ibid_$(VER).orig.tar.gz
+ rm -rf ibid-$(VER)
More information about the Python-apps-commits
mailing list