From b3ba14bf82f817fd8c114e840d40149de76bf2e6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 17 Jun 2009 14:09:48 -0700 Subject: [PATCH] Build and install the Doxygen protocol documentation --- debian/control | 2 +- debian/rules | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 8e5279259..3a0f693c8 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Russ Allbery Uploaders: Sam Hartman Build-Depends: debhelper (>= 7), autoconf, automake, bison, comerr-dev, - cpio, dblatex, docbook-xsl, flex, libkrb5-dev, libncurses5-dev, + cpio, dblatex, docbook-xsl, doxygen, flex, libkrb5-dev, libncurses5-dev, libpam0g-dev, libxml2-utils, perl, xsltproc Standards-Version: 3.8.1 Homepage: http://www.openafs.org/ diff --git a/debian/rules b/debian/rules index 0b01b5022..9a1d54399 100755 --- a/debian/rules +++ b/debian/rules @@ -139,6 +139,16 @@ install-stamp: build-stamp cp doc/xml/$$d/*.html doc/xml/$$d/*.png $(DOCS)/html/$$d/ ; \ cp doc/xml/$$d/*.pdf $(DOCS)/ ; \ done + mkdir $(DOCS)/html/arch-overview + cp doc/arch/arch-overview.h $(DOCS)/html/arch-overview + cd $(DOCS/html/arch-overview && doxygen *.h && rm *.h && mv html/* . \ + && rm -r latex html + set -e; for h in `ls doc/protocol` ; do \ + mkdir $(DOCS)/html/`basename $$h` ; \ + cp doc/protocol/$$h $(DOCS)/html/`basename $$h` ; \ + cd $(DOCS)/html/`basename $$h` && doxygen *.h && rm *.h \ + && mv html/* . && rm -r latex html ; \ + done install -d debian/$(srcpkg)/usr/src/modules/$(package) cd libafs_tree && find . -print | \ -- 2.39.5