]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Build and install the Doxygen protocol documentation
authorRuss Allbery <rra@debian.org>
Wed, 17 Jun 2009 21:09:48 +0000 (14:09 -0700)
committerRuss Allbery <rra@debian.org>
Wed, 17 Jun 2009 21:09:48 +0000 (14:09 -0700)
debian/control
debian/rules

index 8e527925975cd3c26b9fadb9cd0456f295c1ed07..3a0f693c84c7ff9aa8fe8e44e40320acae2f6374 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Russ Allbery <rra@debian.org>
 Uploaders: Sam Hartman <hartmans@debian.org>
 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/
index 0b01b502265b6e231e69fba8ad0e8bd347f13b7d..9a1d54399342905d37771cdf57ae5adedaf9fa3d 100755 (executable)
@@ -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 | \