[Python-modules-commits] r12750 - in packages/python-djvulibre/trunk/debian (rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun Apr 25 20:20:42 UTC 2010


    Date: Sunday, April 25, 2010 @ 20:20:33
  Author: jwilk
Revision: 12750

Override dh_installdocs (instead of dh_auto_install) to build documentation.

Modified:
  packages/python-djvulibre/trunk/debian/rules

Modified: packages/python-djvulibre/trunk/debian/rules
===================================================================
--- packages/python-djvulibre/trunk/debian/rules	2010-04-25 20:13:14 UTC (rev 12749)
+++ packages/python-djvulibre/trunk/debian/rules	2010-04-25 20:20:33 UTC (rev 12750)
@@ -15,12 +15,12 @@
 %.c: %.pyx
 	cython $(<)
 
-.PHONY: override_dh_auto_install
+.PHONY: override_dh_installdocs
 ifneq ($(shell dh_listpackages | grep -x -F python-djvu-doc),)
-override_dh_auto_install: doc/stamp
+override_dh_installdocs: doc/stamp
 endif
-override_dh_auto_install:
-	dh_auto_install
+override_dh_installdocs:
+	dh_installdocs
 
 doc/stamp: build/stamp
 	$(MAKE) -C doc/ html PYTHONPATH=$(PYTHONPATH):$(CURDIR)




More information about the Python-modules-commits mailing list