Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Program transform name, again
- X-seq: zsh-workers 8904
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Program transform name, again
- Date: Mon, 6 Dec 1999 04:07:22 +0000
- In-reply-to: <991206023942.ZM9128@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <991206023942.ZM9128@xxxxxxxxxxxxxxxxxxxxxxx>
On Dec 6, 2:39am, Bart Schaefer wrote:
} Subject: PATCH: Program transform name, again
}
} 4. Name transform is applied to the @setfilename line in zsh.texi.in to
} generate zsh.texi.
Oops; two silly typos fixed below, and avoid making one of those mistakes
again by using $<.
Index: Doc/Makefile.in
===================================================================
@@ -78,9 +78,9 @@
zsh.texi.in: $(sdir)/zsh.yo
$(YODL) -o $(sdir)/zsh.texi.in -I$(sdir) -w ztexi.yo version.yo zsh.yo
-zsh.texi: zsh.texi.in
- @test -f $(sdir)/zsh.texi.in -a -s $(sdir)/zsh.texi.in
- sed '/@setfilename/{; s/@setfilename //; $(transform) ; s/^/@setfilename /;}' < $(sdir)/zsh.texi > zsh.texi
+zsh.texi: $(sdir)/zsh.texi.in
+ @test -f $< -a -s $<
+ sed '/@setfilename/{; s/@setfilename //; $(transform) ; s/^/@setfilename /;}' < $< > zsh.texi
.yo.1:
@case $@ in \
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author