diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-06 17:00:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-06 17:00:20 +0000 |
commit | a27482ba2d7478a8029dd32a897c1107a68de776 (patch) | |
tree | ee4e86ac1d2d46219395b142688c997168478598 /Doc | |
parent | a4d24d1d557eb230b41cea96cb8a26a98a4d7c41 (diff) | |
download | zsh-a27482ba2d7478a8029dd32a897c1107a68de776.tar.gz zsh-a27482ba2d7478a8029dd32a897c1107a68de776.tar.xz zsh-a27482ba2d7478a8029dd32a897c1107a68de776.zip |
zsh-workers/8917
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Makefile.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/Makefile.in b/Doc/Makefile.in index 01343c4a4..e0fb29d27 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -80,7 +80,8 @@ $(sdir)/zsh.texi.in: $(sdir)/zsh.yo zsh.texi: $(sdir)/zsh.texi.in @test -f $< -a -s $< - sed '/@setfilename/{; s/@setfilename //; $(transform) ; s/^/@setfilename /;}' < $< > zsh.texi + tzsh=`echo zsh | sed '$(transform); s/,/\\\\,/g'`; \ + sed "/@setfilename/{; s/@setfilename //; s,zsh,$$tzsh, ; s/^/@setfilename /;}" < $< > zsh.texi .yo.1: case $@ in \ @@ -167,9 +168,9 @@ uninstall: uninstall.man # install man pages, creating install directory if necessary install.man: $(MAN) $(sdir_top)/mkinstalldirs $(DESTDIR)$(mandir)/man1 + tzsh=`echo zsh | sed '$(transform); s/,/\\\\,/g'`; \ for file in $(MAN); do \ - tzsh=`echo zsh | sed '$(transform)'`; \ - tfile=`echo $$file | sed "s/zsh/$$tzsh/"`; \ + tfile=`echo $$file | sed "s,zsh,$$tzsh,"`; \ if test -f $$file; then \ cp -f $$file $$tfile; \ elif test -f $(sdir)/$$file; then \ @@ -183,8 +184,8 @@ install.man: $(MAN) install.info: zsh.texi $(MAKEINFO) zsh.texi $(sdir_top)/mkinstalldirs $(DESTDIR)$(infodir) - tzsh=`echo zsh.info | sed '$(transform)'`; \ - for file in $$tzsh $$tzsh-[1-9]*; do \ + tzsh=`echo zsh | sed '$(transform)'`; \ + for file in $$tzsh.info $$tzsh.info-[1-9]*; do \ if test -f $$file; then \ $(INSTALL_DATA) $$file $(DESTDIR)$(infodir); \ elif test -f $(sdir)/$$file; then \ @@ -203,8 +204,8 @@ install.html: zsh_toc.html # uninstall man pages uninstall.man: for file in $(MAN); do \ - tzsh=`echo zsh | sed '$(transform)'`; \ - tfile=`echo $$file | sed "s/zsh/$$tzsh/"`; \ + tzsh=`echo zsh | sed '$(transform); s/,/\\\\,/g'`; \ + tfile=`echo $$file | sed "s,zsh,$$tzsh,"`; \ rm -f $(DESTDIR)$(mandir)/man1/$$tfile; \ done |