]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix a few more documentation installation problems
authorRuss Allbery <rra@debian.org>
Wed, 17 Jun 2009 21:52:59 +0000 (14:52 -0700)
committerRuss Allbery <rra@debian.org>
Wed, 17 Jun 2009 21:52:59 +0000 (14:52 -0700)
debian/rules

index f6cd9e01b2a9f748ae142ff2512e65253d718bc0..77d2d408b07597642a97fb1d440a201e65b30245 100755 (executable)
@@ -126,6 +126,7 @@ install-stamp: build-stamp
        mkdir -p $(CURDIR)/debian/tmp
        $(MAKE) install_nolibafs DESTDIR=$(CURDIR)/debian/tmp
        rm -f debian/tmp/usr/bin/klog.krb
+       rm -f debian/tmp/usr/share/man/man1/klog.krb.1
        chmod +x debian/afs-rootvol debian/afs-newcell
        dh_installdirs
        dh_install --fail-missing $(IGNORE)
@@ -136,18 +137,19 @@ install-stamp: build-stamp
        cp doc/xml/*.gif doc/xml/*.html $(DOCS)/html/
        set -e; for d in AdminGuide QuickStartUnix UserGuide ; do \
            mkdir $(DOCS)/html/$$d ; \
-           cp doc/xml/$$d/*.html doc/xml/$$d/*.png $(DOCS)/html/$$d/ ; \
+           cp doc/xml/$$d/*.html $(DOCS)/html/$$d/ ; \
            cp doc/xml/$$d/*.pdf $(DOCS)/ ; \
        done
+       cp doc/xml/AdminGuide/*.png $(DOCS)/html/AdminGuide/
        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 ; \
+       set -e; for h in doc/protocol/*.h ; do \
+           mkdir $(DOCS)/html/`basename $$h .h` ; \
+           cp $$h $(DOCS)/html/`basename $$h .h` ; \
+           cd $(DOCS)/html/`basename $$h .h` && doxygen *.h && rm *.h \
+               && mv html/* . && rm -r latex html && cd $(CURDIR) ; \
        done
 
        install -d debian/$(srcpkg)/usr/src/modules/$(package)