Reformat chapter two of the OpenAFS Administration Guide
[openafs.git] / doc / man-pages / Makefile.in
index 888e5c5..7ea3e3b 100644 (file)
@@ -2,6 +2,10 @@
 
 srcdir=@srcdir@
 include @TOP_OBJDIR@/src/config/Makefile.config
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
 all:
 
@@ -11,6 +15,8 @@ maintclean:
 html:
        perl generate-html
 
+LINKEDPAGES = klog pagsh tokens
+
 dest:
        chmod +x install-man
        mkdir -p $(DEST)/man/man1 $(DEST)/man/man5 $(DEST)/man/man8
@@ -23,6 +29,14 @@ dest:
        set -e; cd man8 && for M in *.8 ; do \
            ../install-man $$M $(DEST)/man/man8/$$M ; \
        done
+       set -e; for M in ${LINKEDPAGES}; do \
+           test -h $(DEST)/man/man1/$$M.krb.1 \
+               || ln -s $$M.1 $(DEST)/man/man1/$$M.krb.1 ; \
+       done
+       set -e; if [ -n "@ENABLE_FUSE_CLIENT@" ] ; then \
+           test -h $(DEST)/man/man8/afsd.fuse.8 \
+               || ln -s afsd.8 $(DEST)/man/man8/afsd.fuse.8; \
+       fi
 
 install: $(MAN1) $(MAN8)
        chmod +x install-man
@@ -37,3 +51,11 @@ install: $(MAN1) $(MAN8)
        set -e; cd man8 && for M in *.8 ; do \
            ../install-man $$M $(DESTDIR)$(mandir)/man8/$$M ; \
        done
+       set -e; for M in ${LINKEDPAGES}; do \
+           test -h $(DESTDIR)$(mandir)/man1/$$M.krb.1 \
+               || ln -s $$M.1 $(DESTDIR)$(mandir)/man1/$$M.krb.1 ; \
+       done
+       set -e; if [ -n "@ENABLE_FUSE_CLIENT@" ] ; then \
+           test -h $(DESTDIR)$(mandir)/man8/afsd.fuse.8 \
+               || ln -s afsd.8 $(DESTDIR)$(mandir)/man8/afsd.fuse.8; \
+       fi