2005-10-15 17:00:57 +01:00
|
|
|
# Makefile for AFS man pages
|
|
|
|
|
|
|
|
srcdir=@srcdir@
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
all:
|
2005-10-15 17:00:57 +01:00
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
maintclean:
|
2005-12-09 14:50:02 +00:00
|
|
|
rm -rf man1 man5 man8
|
2005-10-15 17:00:57 +01:00
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
dest:
|
2005-12-22 07:29:52 +00:00
|
|
|
chmod +x install-man
|
2005-12-08 12:14:33 +00:00
|
|
|
mkdir -p $(DEST)/man/man1 $(DEST)/man/man5 $(DEST)/man/man8
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man1 && for M in *.1 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DEST)/man/man1/$$M ; \
|
2005-10-15 17:00:57 +01:00
|
|
|
done
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man5 && for M in *.5 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DEST)/man/man5/$$M ; \
|
2005-12-08 12:14:33 +00:00
|
|
|
done
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man8 && for M in *.8 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DEST)/man/man8/$$M ; \
|
2005-10-15 17:00:57 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
install: $(MAN1) $(MAN8)
|
2005-12-22 07:29:52 +00:00
|
|
|
chmod +x install-man
|
2005-12-08 12:14:33 +00:00
|
|
|
mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 \
|
|
|
|
$(DESTDIR)$(mandir)/man8
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man1 && for M in *.1 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DESTDIR)$(mandir)/man1/$$M ; \
|
2005-10-15 17:00:57 +01:00
|
|
|
done
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man5 && for M in *.5 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DESTDIR)$(mandir)/man5/$$M ; \
|
2005-12-08 12:14:33 +00:00
|
|
|
done
|
2005-12-09 14:50:02 +00:00
|
|
|
set -e; cd man8 && for M in *.8 ; do \
|
2005-12-22 07:29:52 +00:00
|
|
|
../install-man $$M $(DESTDIR)$(mandir)/man8/$$M ; \
|
2005-10-15 17:00:57 +01:00
|
|
|
done
|