Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Program transform name, again
- X-seq: zsh-workers 8908
- From: Zefram <zefram@xxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: PATCH: Program transform name, again
- Date: Mon, 6 Dec 1999 10:14:08 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <991206023942.ZM9128@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Dec 6, 1999 2:39:42 am"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
>4. Name transform is applied to the @setfilename line in zsh.texi.in to
> generate zsh.texi. Note that if a --program-suffix is supplied, the
> resulting file name does not end in .info, which is almost certainly
> a bad thing and is the leading argument that --program-transform-name
> is intended to apply only to the name of the binary.
>5. Name transform is applied to manual page names as well. Same caveat
> about --program-suffix.
No, no, this is all wrong. You should be doing
tzsh=`echo zsh | sed '@program_transform_name@'`
and then in each installed filename replace the substring "zsh" with "$(tzsh)". So you'd do
$(INSTALL_DATA) zshzle.1 $(DESTDIR)$(mandir)/man1/$(tzsh)zle.1
and so on. The transform applies to the *program* name -- `zsh' -- not to
the actual filenames. Furthermore, no transformed-name files, except the
info files (but they're an exception), should appear in the build tree.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author