DEVEL15-doc-man-page-install-variables-20090602

LICENSE BSD

We were horribly confused about variables when creating man page symlinks.
Be less confused by using variables less.


(cherry picked from commit 3ae35e1271)
This commit is contained in:
Russ Allbery 2009-06-02 18:33:42 +00:00
parent 11b2f40b3d
commit 8ff1e057bc

View File

@ -26,8 +26,8 @@ dest:
../install-man $$M $(DEST)/man/man8/$$M ; \
done
set -e; for M in ${LINKEDPAGES}; do \
NEWPAGE=$(DEST)/man/man1/$$M.krb.1 ; \
test -h ${NEWPAGE} || ln -s $$M.1 ${NEWPAGE} ; \
test -h $(DEST)/man/man1/$$M.krb.1 \
|| ln -s $$M.1 $(DEST)/man/man1/$$M.krb.1 ; \
done
@ -45,6 +45,6 @@ install: $(MAN1) $(MAN8)
../install-man $$M $(DESTDIR)$(mandir)/man8/$$M ; \
done
set -e; for M in ${LINKEDPAGES}; do \
NEWPAGE=$(DESTDIR)$(mandir)/man1/$$M.krb.1 ; \
test -h ${NEWPAGE} || ln -s $$M.1 ${NEWPAGE} ; \
test -h $(DESTDIR)$(mandir)/man1/$$M.krb.1 \
|| ln -s $$M.1 $(DESTDIR)$(mandir)/man1/$$M.krb.1 ; \
done