From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6426 invoked by alias); 17 Nov 2013 19:42:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31999 Received: (qmail 13552 invoked from network); 17 Nov 2013 19:42:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Martin Vaeth Subject: Re: modify functions hierarchy (was: Install run-help and *.zwc files system wide in build system) Date: Sun, 17 Nov 2013 19:42:25 +0000 (UTC) Message-ID: References: <20131110181333.7682d38f@pws-pc.ntlworld.com> <131110183043.ZM21795@torch.brasslantern.com> <131111084228.ZM26372@torch.brasslantern.com> <20131112101139.31d67b73@pwslap01u.europe.root.pri> <20131112174805.26ecab48@pwslap01u.europe.root.pri> <20131112210424.177c035b@pws-pc.ntlworld.com> <20131113092831.2ed6ab94@pwslap01u.europe.root.pri> <20131113112112.1b080b79@pwslap01u.europe.root.pri> <131113080606.ZM11640@torch.brasslantern.com> <131117103047.ZM30518@torch.brasslantern.com> Reply-To: vaeth@mathematik.uni-wuerzburg.de X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lounge.imp.fu-berlin.de User-Agent: slrn/pre1.0.0-26 (Linux) Bart Schaefer wrote: > > Any files like _run_help and run-help that need to be generated > from a .in file should be processed by "make install" (install.fns rule) > directly into the $(sitefndir) target, and should never appear in the > Zsh build tree. This somehow goes against the concept of "make install" which should only copy (and at most strip) already generated files: Note that it can happen that "make install" is run with different privileges than "make all" and thus should execute as few code as possible. The really "clean" solution would be to copy the whole functions hierarchy in the "make all" phase, doing the patches as required. However, as already mentioned, this would require a rather fundamental change in the whole build system. > Taking that as step further, I'm beginning to think the helpfiles should > also be generated by "make install" rather than being written to a tree > underneath Doc/. Running perl, man and friends in the install phase is even worse. Moreover, I thought the idea is that the generated help-files should be included in the tarball (like the man-pages). In this case, the Doc/ directory (in which also the generated man-pages reside) is certainly the correct location.