mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
ff3fca515e
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>
62 lines
2.1 KiB
Makefile
62 lines
2.1 KiB
Makefile
# Makefile for AFS man pages
|
|
|
|
srcdir=@srcdir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
all:
|
|
|
|
maintclean:
|
|
rm -rf html man1 man3 man5 man8
|
|
|
|
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
|
|
mkdir -p $(DEST)/man/man1 $(DEST)/man/man3 \
|
|
$(DEST)/man/man5 $(DEST)/man/man8
|
|
set -e; for M in man1/*.1 man3/*.3 man5/*.5 man8/*.8 ; do \
|
|
./install-man $$M $(DEST)/man/$$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
|
|
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; \
|
|
fi
|
|
|
|
install: $(MAN1) $(MAN8)
|
|
chmod +x install-man
|
|
mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 \
|
|
$(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8
|
|
set -e; for M in man1/*.1 man3/*.3 man5/*.5 man8/*.8 ; do \
|
|
./install-man $$M $(DESTDIR)$(mandir)/$$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
|
|
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; \
|
|
fi
|