summaryrefslogtreecommitdiff
path: root/Doc/Makefile.in
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-05 19:11:55 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-06 13:58:05 +0000
commit85ae84e89583dfff54905c4632b03bcdc0aa1a79 (patch)
tree0fb647861630cd62e0000f2ad2f4a8cc6a0f53c2 /Doc/Makefile.in
parentb39a102262ff4810a75bf6b7595ee5195d13939e (diff)
downloadzsh-85ae84e89583dfff54905c4632b03bcdc0aa1a79.tar.gz
zsh-85ae84e89583dfff54905c4632b03bcdc0aa1a79.zip
43392: dist: Generate doc/help/* and doc/help.txt in builddir rather than srcdir.
Fixes creating tarballs in out-of-tree builds. While here, remove the instruction to build zsh before building a tarball, since that's unneeded.
Diffstat (limited to 'Doc/Makefile.in')
-rw-r--r--Doc/Makefile.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index fded2e825..35011091b 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -201,11 +201,10 @@ runhelp: help.txt
.PHONY: runhelp
help.txt: zshbuiltins.1
- @-rm -f $(sdir)/help.txt $(sdir)/help/*
+ @-rm -f $@ help/*
perl $(sdir_top)/Util/helpfiles \
- $(sdir)/zshbuiltins.1 $(sdir)/help $(sdir)/help.txt \
- || rm -f $(sdir)/help.txt $(sdir)/help/*
- touch $(sdir)/$@
+ $(sdir)/zshbuiltins.1 help help.txt \
+ || rm -f help.txt help/*
$(MAN): zmacros.yo zman.yo