[SCM] glyr/master: Build doc during "build", not during "install"

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Sat Sep 8 12:57:53 UTC 2012


The following commit has been merged in the master branch:
commit 3d3a0ce0185b4df19accb23da6c0f81489052003
Author: Etienne Millon <me at emillon.org>
Date:   Sat Sep 8 14:40:42 2012 +0200

    Build doc during "build", not during "install"

diff --git a/debian/rules b/debian/rules
index 0a403a9..a28c47e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 override_dh_auto_configure:
 	dh_auto_configure -- -DINSTALL_LIB_DIR=lib/$(DEB_BUILD_MULTIARCH)
 
+override_dh_auto_build:
+	dh_auto_build
+	cd doc ; ruby build_doc.rb
+
 override_dh_compress:
 	dh_compress -Xasync_queue.c -Xexample.c
 
@@ -17,7 +21,3 @@ override_dh_fixperms:
 	
 override_dh_strip:
 	dh_strip --dbg-package=libglyr1-dbg
-
-override_dh_installdocs:
-	cd doc ; ruby build_doc.rb
-	dh_installdocs

-- 
glyr packaging



More information about the pkg-multimedia-commits mailing list