[SCM] gsdview branch, master, updated. upstream/0.6.4-21-ge9824e7

Antonio Valentino antonio.valentino at tiscali.it
Sat Nov 19 12:16:52 UTC 2011


The following commit has been merged in the master branch:
commit e9824e7a7cbae40445f00f489bae0fb6b744b891
Author: Antonio Valentino <antonio.valentino at 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



More information about the Pkg-grass-devel mailing list