From e0efcf71b113076a173cf01c3b07ab6046db5e43 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 6 Dec 1999 16:28:22 +0000 Subject: zsh-workers/8915 --- Doc/Makefile.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Doc/Makefile.in b/Doc/Makefile.in index 99fcd37ec..01343c4a4 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -168,14 +168,15 @@ uninstall: uninstall.man install.man: $(MAN) $(sdir_top)/mkinstalldirs $(DESTDIR)$(mandir)/man1 for file in $(MAN); do \ - tzsh=`echo $$file | sed '$(transform)'`; \ + tzsh=`echo zsh | sed '$(transform)'`; \ + tfile=`echo $$file | sed "s/zsh/$$tzsh/"`; \ if test -f $$file; then \ - cp -f $$file $$tzsh; \ + cp -f $$file $$tfile; \ elif test -f $(sdir)/$$file; then \ - cp -f $(sdir)/$$file $$tzsh; \ + cp -f $(sdir)/$$file $$tfile; \ else :; \ fi || exit 1; \ - $(INSTALL_DATA) $$tzsh $(DESTDIR)$(mandir)/man1 || exit 1; \ + $(INSTALL_DATA) $$tfile $(DESTDIR)$(mandir)/man1 || exit 1; \ done # install info pages, creating install directory if necessary @@ -203,7 +204,8 @@ install.html: zsh_toc.html uninstall.man: for file in $(MAN); do \ tzsh=`echo zsh | sed '$(transform)'`; \ - rm -f $(DESTDIR)$(mandir)/man1/$$tzsh; \ + tfile=`echo $$file | sed "s/zsh/$$tzsh/"`; \ + rm -f $(DESTDIR)$(mandir)/man1/$$tfile; \ done # uninstall info pages -- cgit 1.4.1