The following commit has been merged in the master branch:
commit 1d06abf8c4c39e804e7740fbd31e8a2cfab4117b
Author: Jérémy Lal <kapo...@melix.org>
Date:   Sun Sep 8 02:14:24 2013 +0200

    Build documentation in override_dh_install-indep

diff --git a/debian/rules b/debian/rules
index ff0d668..9688e55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,22 +49,22 @@ override_dh_auto_install:
                        install ; \
        done
 
-override_dh_install:
+override_dh_install-arch:
        dh_install
-
        mv $(CURDIR)/debian/mapnik-utils/usr/bin/upgrade_map_xml.py \
                $(CURDIR)/debian/mapnik-utils/usr/bin/upgrade-map-xml
 
+override_dh_install-indep:
        # build Python API documentation
        # and trick epydoc into loading the shlib too
        LD_LIBRARY_PATH=$(CURDIR)/debian/libmapnik2.2/usr/lib/ epydoc 
--no-private \
-    --no-frames \
-    --no-sourcecode \
-    --name mapnik \
-    --url http://mapnik.org \
-    --css $(CURDIR)/utils/epydoc_config/mapnik_epydoc.css \
-    $(CURDIR)/bindings/python/mapnik \
-    -o $(CURDIR)/debian/mapnik-doc/usr/share/doc/mapnik-doc/python
+               --no-frames \
+               --no-sourcecode \
+               --name mapnik \
+               --url http://mapnik.org \
+               --css $(CURDIR)/utils/epydoc_config/mapnik_epydoc.css \
+               $(CURDIR)/bindings/python/mapnik \
+               -o $(CURDIR)/debian/mapnik-doc/usr/share/doc/mapnik-doc/python
 
 override_dh_auto_clean:
        scons --clean $(SCONS_FLAGS)

-- 
C++/Python toolkit for developing GIS applications

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to