From 09e27b08889c9694e38c5bd384424c31433039a3 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Thu, 5 Apr 2012 10:00:58 -0500 Subject: debian: Add bcfg2-doc package Signed-off-by: Sol Jerome --- debian/rules | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 1638b8415..30fd64a43 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,7 @@ #!/usr/bin/make -f -WSGI_LOC = $(shell find debian/bcfg2-server/ -name reports.wsgi | perl -p -e 's|debian/bcfg2-server||') - %: - dh --with python-support $@ + dh $@ --with python-support,sphinxdoc override_dh_auto_install: # Make the build destination dir consistent between pre-7.3 and 7.3 and @@ -18,3 +16,10 @@ override_dh_installinit: # Install bcfg2-server initscript without starting it on postinst dh_installinit --package=bcfg2-server --no-start +override_dh_installdocs: + python setup.py build_sphinx + dh_installdocs build/sphinx/html + +override_dh_auto_clean: + dh_auto_clean + rm -rf build -- cgit v1.2.3-1-g7c22