The following commit has been merged in the master branch:
commit e9824e7a7cbae40445f00f489bae0fb6b744b891
Author: Antonio Valentino <antonio.valent...@tiscali.it>
Date:   Sat Nov 19 13:03:21 2011 +0100

    Rebuild sphinx docs to avoid js mismatches

diff --git a/debian/rules b/debian/rules
index b569107..e2dabcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,12 @@
        dh $@ --with python2 --with sphinxdoc
 
 
-override_dh_build:
+override_dh_auto_build:
+       # Regenerate sphinx doc
+       if [ ! -d doc/html_save ] ; then \
+               mv doc/html doc/html_save; \
+       fi
+       $(MAKE) -C doc html
 
 
 override_dh_auto_install:
@@ -30,6 +35,10 @@ override_dh_compress:
 
 
 override_dh_auto_clean:
+       if [ -d doc/html_save ] ; then \
+               rm -rf doc/html; \
+               mv doc/html_save doc/html; \
+       fi
        make clean
 
 

-- 
Geo-Spatial Data Viewer

_______________________________________________
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