[Python-modules-commits] r14474 - in packages/python-networkx/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Sep 22 16:48:48 UTC 2010


    Date: Wednesday, September 22, 2010 @ 16:48:42
  Author: morph
Revision: 14474

* debian/rules
  - refer to built code when building doc

Modified:
  packages/python-networkx/trunk/debian/changelog
  packages/python-networkx/trunk/debian/rules

Modified: packages/python-networkx/trunk/debian/changelog
===================================================================
--- packages/python-networkx/trunk/debian/changelog	2010-09-22 16:32:58 UTC (rev 14473)
+++ packages/python-networkx/trunk/debian/changelog	2010-09-22 16:48:42 UTC (rev 14474)
@@ -19,8 +19,10 @@
     - (d/patches/30_use_local_objects.inv) use local copy of remote objects.inv
   * debian/{control, rules}
     - moved to dh7 and "reduced" rules file
+  * debian/rules
+    - refer to built code when building doc
 
- -- Sandro Tosi <morph at debian.org>  Wed, 22 Sep 2010 18:29:31 +0200
+ -- Sandro Tosi <morph at debian.org>  Wed, 22 Sep 2010 18:48:03 +0200
 
 python-networkx (1.1-2) unstable; urgency=low
 

Modified: packages/python-networkx/trunk/debian/rules
===================================================================
--- packages/python-networkx/trunk/debian/rules	2010-09-22 16:32:58 UTC (rev 14473)
+++ packages/python-networkx/trunk/debian/rules	2010-09-22 16:48:42 UTC (rev 14474)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 DEBIANDOC_DIR=$(CURDIR)/debian/python-networkx/usr/share/doc/python-networkx
+PYLIBPATH := $(shell python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")
 
 %:
 	dh $@
@@ -28,7 +29,7 @@
 
 build-indep:
 	# build doc
-	make -C doc html
+	make -C doc html PYTHONPATH=../$(PYLIBPATH)
 
 override_dh_install:
 	# Install w/o compiling *.pyc files




More information about the Python-modules-commits mailing list