[Python-modules-commits] r16104 - in packages/gamera/trunk/debian (rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Mar 11 19:39:06 UTC 2011


    Date: Friday, March 11, 2011 @ 19:39:02
  Author: jwilk
Revision: 16104

Don't try to build documentation in the binary-arch target.

Modified:
  packages/gamera/trunk/debian/rules

Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules	2011-03-11 18:16:36 UTC (rev 16103)
+++ packages/gamera/trunk/debian/rules	2011-03-11 19:39:02 UTC (rev 16104)
@@ -76,7 +76,9 @@
 		help2man --version-string=$(version) --name='GUI for the Gamera framework' --no-info ./gamera_gui > gamera_gui.1
 
 doc/stamp: build/stamp
+ifneq ($(shell dh_listpackages | grep -x -F gamera-doc),)
 	cd doc && PYTHONPATH=$(default_pythonpath) python gendoc.py
+endif
 	touch $(@)
 
 .PHONY: override_dh_install




More information about the Python-modules-commits mailing list