From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 331 invoked by alias); 10 Nov 2013 22:50:41 -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: 31953 Received: (qmail 12814 invoked from network); 10 Nov 2013 22:50:35 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 X-Virus-Scanned: amavisd-new at uni-wuerzburg.de Date: Sun, 10 Nov 2013 23:28:30 +0100 (CET) From: Martin Vaeth X-X-Sender: vaeth@lounge.imp.fu-berlin.de To: Peter Stephenson cc: zsh-workers@zsh.org Subject: Re: Install run-help and *.zwc files system wide in build system In-Reply-To: <20131110181333.7682d38f@pws-pc.ntlworld.com> Message-ID: References: <20131110181333.7682d38f@pws-pc.ntlworld.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="765481770-1876647703-1384122518=:22248" --765481770-1876647703-1384122518=:22248 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Please find attached the announced patches for run-help files generation, for simplicity all bundled into one patch against current git master. (This is my first attempt to post a patch to a mailing list; I hope attachments are allowed). Main part is a new (Bourne) shell script "generate-help.sh" which uses man, clcrt, and Util/helpfiles (hence perl) to generate the run-help files. There are further patches to the build system, to run-help itself and, since I was at it, I also added a _run-help completion file to the patch. The purpose of the patched build system is to call generate-help.sh and to install/uninstall the help directoy unless ./configure --disable-runhelpdir or ./configure --enable-runhelpdir= is used. (To make the patch active, autotools must be used to generate the new configure script after the patch, of course). run-help itself is patched to default to the default directory HELPDIR=/usr/share/zsh/$ZSH_VERSION/help The meaning of the new _run-help completion file should be clear... (note that this file is not used, by default, since by default, run-help is an alias to "man", and so, of course, usually the "man" completion is used instead). I agree, of course, that "generate-help.sh" should better generate the run-help files directly from yodl, but I am not (yet) familiar enough with yodl to do this. If eventually somebody writes a script which can do this, this can simply replace the current "generate-help.sh". In the moment, I have not attempted to put the generated run-help directory into the tarball, since this can lead to other problems: This directory contains symlinks which are not available on all systems... --765481770-1876647703-1384122518=:22248 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=eix-0.30.0.ebuild.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=eix-0.30.0.ebuild.patch LS0tIGVpeC0wLjI5LjYuZWJ1aWxkDQorKysgZWl4LTAuMzAuMC5lYnVpbGQN CkBAIC0xNCw3ICsxNCw3IEBADQogTElDRU5TRT0iR1BMLTIiDQogU0xPVD0i MCINCiBLRVlXT1JEUz0ifmFscGhhIH5hbWQ2NCB+YXJtIH5ocHBhIH5pYTY0 IH5tNjhrIH5taXBzIH5wcGMgfnBwYzY0IH5zMzkwIH5zaCB+c3BhcmMgfng4 NiB+cHBjLWFpeCB+YW1kNjQtZmJzZCB+c3BhcmMtZmJzZCB+eDg2LWZic2Qg fng4Ni1mcmVlYnNkIH5pYTY0LWhwdXggfng4Ni1pbnRlcml4IH5hbWQ2NC1s aW51eCB+aWE2NC1saW51eCB+eDg2LWxpbnV4IH5wcGMtbWFjb3Mgfng2NC1t YWNvcyB+eDg2LW1hY29zIH5zcGFyYy1zb2xhcmlzIH5zcGFyYzY0LXNvbGFy aXMgfng4Ni1zb2xhcmlzIg0KLUlVU0U9ImNsYW5nIGRlYnVnICtkZXAgZG9j IG5scyBvcHRpbWl6YXRpb24gc2VjdXJpdHkgc3Ryb25nLW9wdGltaXphdGlv biBzdHJvbmctc2VjdXJpdHkgc3FsaXRlIHN3YXAtcmVtb3RlIHRvb2xzIg0K K0lVU0U9ImRlYnVnICtkZXAgZG9jIG5scyBvcHRpbWl6YXRpb24gc2VjdXJp dHkgc3Ryb25nLW9wdGltaXphdGlvbiBzdHJvbmctc2VjdXJpdHk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