[Python-apps-commits] r12430 - in packages/gitinspector/trunk/debian (rules)
ckk at users.alioth.debian.org
ckk at users.alioth.debian.org
Wed Sep 30 15:44:45 UTC 2015
Date: Wednesday, September 30, 2015 @ 15:44:44
Author: ckk
Revision: 12430
d/rules: Build documentation from source
Modified:
packages/gitinspector/trunk/debian/rules
Modified: packages/gitinspector/trunk/debian/rules
===================================================================
--- packages/gitinspector/trunk/debian/rules 2015-09-30 15:44:10 UTC (rev 12429)
+++ packages/gitinspector/trunk/debian/rules 2015-09-30 15:44:44 UTC (rev 12430)
@@ -12,6 +12,14 @@
%:
dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+
+ cd docs && a2x -f manpage gitinspector.txt
+ cd docs && a2x -f xhtml gitinspector.txt
+
+
override_dh_auto_install:
dh_auto_install
# We don't need to install a copy of the GPL-3, we have it locally
@@ -29,5 +37,14 @@
--destdir=$(CURDIR) \
--repack \
--copyright-file=$(PKGDIR)/debian/files-excluded \
+ --compression=xz \
$(PKGDIR)
- rm -f gitinspector_*.zip
+ rm -f gitinspector-*.tar.gz
+
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ rm -f docs/gitinspector.xml
+ rm -f docs/gitinspector.1
+ rm -f docs/gitinspector.html
More information about the Python-apps-commits
mailing list