pod2man-update-20051109

build when there's no pod utils installed
This commit is contained in:
Rainer Toebbicke 2005-11-09 14:58:29 +00:00 committed by Derrick Brashear
parent 685ba16a0b
commit bdc22ef4d3

View File

@ -172,28 +172,28 @@ MAN8 = \
all: $(MAN1) $(MAN8) all: $(MAN1) $(MAN8)
%.1: $(srcdir)/pod/%.pod %.1: $(srcdir)/pod/%.pod
pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 $< $@ -pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 $< $@
%.8: $(srcdir)/pod/%.pod %.8: $(srcdir)/pod/%.pod
pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 $< $@ -pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 $< $@
clean: clean:
rm -f *.1 *.8 rm -f *.1 *.8
dest: $(MAN1) $(MAN8) dest: $(MAN1) $(MAN8)
mkdir -p $(DEST)/man/man1 $(DEST)/man/man8 mkdir -p $(DEST)/man/man1 $(DEST)/man/man8
set -e; for M in $(MAN1) ; do \ -set -e; for M in $(MAN1) ; do \
$(INSTALL) -c -m 0644 $$M $(DEST)/man/man1/$$M ; \ $(INSTALL) -c -m 0644 $$M $(DEST)/man/man1/$$M ; \
done done
set -e; for M in $(MAN8) ; do \ -set -e; for M in $(MAN8) ; do \
$(INSTALL) -c -m 0644 $$M $(DEST)/man/man8/$$M ; \ $(INSTALL) -c -m 0644 $$M $(DEST)/man/man8/$$M ; \
done done
install: $(MAN1) $(MAN8) install: $(MAN1) $(MAN8)
mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8 mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
set -e; for M in $(MAN1) ; do \ -set -e; for M in $(MAN1) ; do \
$(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man1/$$M ; \ $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man1/$$M ; \
done done
set -e; for M in $(MAN8) ; do \ -set -e; for M in $(MAN8) ; do \
$(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man8/$$M ; \ $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man8/$$M ; \
done done