doc: Symlink all dafssync-debug pages

For every fssync-debug subcommand, provide a symlink for the
associated dafssync-debug subcommand. This way, running e.g.
"man dafssync-debug_attach" will actually give you a manpage, instead
of needing to specifically run "man fssync-debug_attach".

Change-Id: I83d71dc14f9f838d9a9900fcc62817677898dd27
Reviewed-on: http://gerrit.openafs.org/10412
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
Andrew Deason 2013-09-05 00:48:02 -05:00 committed by Derrick Brashear
parent 477f270656
commit ff3fca515e

View File

@ -12,6 +12,9 @@ html:
perl generate-html
LINKEDPAGES = klog pagsh tokens
FSSYNCDEBUG_PAGES = attach callback detach error header leaveoff list mode \
move offline online query stats vgcadd vgcdel vgcquery \
vgcscan vgcscanall vnode volop
dest:
chmod +x install-man
@ -26,6 +29,10 @@ dest:
done
test -h $(DEST)/man/man8/dafssync-debug.8 \
|| ln -s fssync-debug.8 $(DEST)/man/man8/dafssync-debug.8
set -e; for M in ${FSSYNCDEBUG_PAGES} ; do \
test -h $(DEST)/man/man8/dafssync-debug_$$M.8 \
|| ln -s fssync-debug_$$M.8 $(DEST)/man/man8/dafssync-debug_$$M.8 ; \
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; \
@ -44,6 +51,10 @@ install: $(MAN1) $(MAN8)
done
test -h $(DESTDIR)/$(mandir)/man8/dafssync-debug.8 \
|| ln -s fssync-debug.8 $(DESTDIR)/$(mandir)/man8/dafssync-debug.8
set -e; for M in ${FSSYNCDEBUG_PAGES} ; do \
test -h $(DESTDIR)/$(mandir)/man8/dafssync-debug_$$M.8 \
|| ln -s fssync-debug_$$M.8 $(DESTDIR)/$(mandir)/man8/dafssync-debug_$$M.8 ; \
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; \