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

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.
This commit is contained in:
Daniel Shahaf 2018-09-05 19:11:55 +00:00
parent b39a102262
commit 85ae84e895
3 changed files with 7 additions and 9 deletions

View file

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