1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

zsh-workers/8917

This commit is contained in:
Tanaka Akira 1999-12-06 17:00:20 +00:00
parent a4d24d1d55
commit a27482ba2d

View file

@ -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