From 85ae84e89583dfff54905c4632b03bcdc0aa1a79 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 5 Sep 2018 19:11:55 +0000 Subject: 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. --- Doc/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Doc/Makefile.in') 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 -- cgit 1.4.1