about summary refs log tree commit diff
path: root/Doc/Makefile.in
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2018-10-16 02:30:52 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-10-16 23:21:28 +0000
commit76a16498d5c76aa3fee0805b8241263249d71b94 (patch)
treeeb8bf905031419d0b0de970ef17e5e31fb7e6c90 /Doc/Makefile.in
parenta8f90de4ffad2c0842bcff5998f50912e132e6d3 (diff)
downloadzsh-76a16498d5c76aa3fee0805b8241263249d71b94.tar.gz
zsh-76a16498d5c76aa3fee0805b8241263249d71b94.tar.xz
zsh-76a16498d5c76aa3fee0805b8241263249d71b94.zip
43692: Generate man pages in the build dir, rather than the source dir.
The following files are still generated in the source dir (in
out-of-tree builds):

    Doc/Zsh/manmodmenu.yo
    Doc/Zsh/modlist.yo
    Doc/Zsh/modmenu.yo
    Doc/version.yo
    Doc/zsh.idx
    Doc/zsh.texi
    META-FAQ
Diffstat (limited to 'Doc/Makefile.in')
-rw-r--r--Doc/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 9dea79252..71ca52195 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -142,7 +142,7 @@ zsh.info: $(sdir)/zsh.texi
 .yo.1:
 	@case $@ in \
 	  */*) target=$@ ;; \
-	  *) target=$(sdir)/$@ ;; \
+	  *) target=$@ ;; \
 	esac; \
 	case '$(YODL)' in :*) touch $$target ;; *) \
 	    echo $(YODL) -o $$target -I$(sdir):. -w zman.yo version.yo $< ; \
@@ -176,9 +176,9 @@ zsh_toc.html: $(sdir)/zsh.texi texi2html.conf
 	             --init-file texi2html.conf $(sdir)/zsh.texi
 
 zshall.1: zsh.yo
-	@case $@ in \
+	case $@ in \
 	  */*) target=$@ ;; \
-	  *) target=$(sdir)/$@ ;; \
+	  *) target=$@ ;; \
 	esac; \
 	case '$(YODL)' in :*) touch $$target ;; *) \
 	    echo $(YODL) -o $$target -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo; \
@@ -203,7 +203,7 @@ runhelp: help.txt
 help.txt: zshbuiltins.1
 	@-rm -f $@ help/*
 	perl $(sdir_top)/Util/helpfiles \
-	    $(sdir)/zshbuiltins.1 help help.txt \
+	    zshbuiltins.1 help help.txt \
 	    || rm -f help.txt help/*
 
 $(MAN): zmacros.yo zman.yo
@@ -328,8 +328,8 @@ uninstall: uninstall.man uninstall.runhelp
 install.man: man
 	${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(mandir)/man1
 	for file in $(MAN); do \
-	    test -s $(sdir)/$$file || exit 1; \
-	    $(INSTALL_DATA) $(sdir)/$$file $(DESTDIR)$(mandir)/man1/`echo $$file | sed 's|zsh|$(tzsh)|'` || exit 1; \
+	    test -s $$file || exit 1; \
+	    $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man1/`echo $$file | sed 's|zsh|$(tzsh)|'` || exit 1; \
 	done
 .PHONY: install.man