From 8ff1e057bc31068c71d46280920265beab7fc513 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 2 Jun 2009 18:33:42 +0000 Subject: [PATCH] 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 3ae35e12714bf4759d313086b17ef47bae1d7504) --- doc/man-pages/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/man-pages/Makefile.in b/doc/man-pages/Makefile.in index 030b6ea7ff..d97000dea8 100644 --- a/doc/man-pages/Makefile.in +++ b/doc/man-pages/Makefile.in @@ -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