[Pkg-cli-apps-commits] [SCM] keepass2 branch, master, updated. debian/2.15+dfsg-2-12-g00a56ed

Julian Taylor jtaylor.debian at googlemail.com
Tue Jun 21 17:43:04 UTC 2011


The following commit has been merged in the master branch:
commit cee156b7ea229e5112e5b940505fb59de08ab3f4
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date:   Sat May 28 19:28:05 2011 +0200

    use archmage to create an index of the docs

diff --git a/debian/control b/debian/control
index 4c11ccf..8fae597 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,14 @@ Section: utils
 Priority: optional
 Maintainer: Debian CLI Applications Team <pkg-cli-apps-team at lists.alioth.debian.org>
 Uploaders: Julian Taylor <jtaylor.debian at googlemail.com>
-Build-Depends: cli-common-dev (>= 0.7),
+Build-Depends: archmage,
+               cli-common-dev (>= 0.7),
                debhelper (>= 7.0.50~),
                imagemagick,
                libmono-cil-dev,
                mono-devel (>= 2.6.7),
-               mono-xbuild
+               mono-xbuild,
+               python
 Standards-Version: 3.9.2
 Homepage: http://keepass.info/
 Vcs-Git: git://git.debian.org/pkg-cli-apps/packages/keepass2.git
diff --git a/debian/rules b/debian/rules
index 2b65d37..6bd571d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,11 +23,17 @@ override_dh_auto_clean:
 	rm -rf KeePass/obj
 	rm -rf Build/KeePass/
 	rm -f debian/keepass2.png
+	# remove files created by archmage
+	rm -f Docs/arch_contents.html Docs/arch_frameset.html \
+	      Docs/arch_header.html Docs/index.html Docs/arch_css.css
+	rm -rf Docs/icons
 	dh_auto_clean
 
 override_dh_auto_build:
 #mdtool build -c:Release -p:KeePass
 	xbuild /target:KeePass /property:Configuration=Release
+# build an index from the raw chm source
+	python -c 'import archmod.CHM; archmod.CHM.CHMDir("Docs").process_templates("Docs/Chm")'
 
 override_dh_install:
 	convert $(CURDIR)/KeePass/Resources/Images/KeePass.ico keepass2.png

-- 
keepass2



More information about the Pkg-cli-apps-commits mailing list