Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zsh-3.1.6-dev-17: Doc/Makefile.in rule: Zsh/modlist.yo
- X-seq: zsh-workers 9584
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: zsh-3.1.6-dev-17: Doc/Makefile.in rule: Zsh/modlist.yo
- Date: 6 Feb 2000 06:38:38 GMT
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultants
- Reply-to: mason@xxxxxxxxxxxxxxx
Heyla,
here's a patch for building Zsh/modlist.yo. It subdues some temperamental
sh variants (namely mine) over ``unset'' and for some reason the test was
failing but it works when reversed. Note also that I've removed the
CTRL-A's from the includefile() lines: any reason they were there?
Regards,
Geoff
*** Doc/Makefile.in.~1~ Mon Jan 31 07:52:30 2000
--- Doc/Makefile.in Sun Feb 6 17:29:57 2000
***************
*** 178,195 ****
echo ")"; \
done; \
echo "enditem()"; \
! echo "includefile(Zsh/modmenu.yo)"; \
set '' $(MODDOCSRC); \
! unset mod1 mod2 mod3; \
! test ".$$2" != . && \
mod2=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$2`; \
while test ".$$2" != .; do \
! unset mod3; \
! test ".$$3" != . && \
mod3=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$3`; \
echo "texinode(The $$mod2 Module)($${mod3+The $$mod3 Module})($${mod1:+The $$mod1 Module})(Zsh Modules)"; \
echo "sect(The $$mod2 Module)"; \
! echo "includefile($${2})"; \
shift; \
mod1=$$mod2; \
mod2=$$mod3; \
--- 178,195 ----
echo ")"; \
done; \
echo "enditem()"; \
! echo "includefile(Zsh/modmenu.yo)"; \
set '' $(MODDOCSRC); \
! unset mod1 mod2 mod3 || true; \
! test ".$$2" = . || \
mod2=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$2`; \
while test ".$$2" != .; do \
! unset mod3 || true; \
! test ".$$3" = . || \
mod3=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$3`; \
echo "texinode(The $$mod2 Module)($${mod3+The $$mod3 Module})($${mod1:+The $$mod1 Module})(Zsh Modules)"; \
echo "sect(The $$mod2 Module)"; \
! echo "includefile($${2})"; \
shift; \
mod1=$$mod2; \
mod2=$$mod3; \
--
Geoff Wing : <gcw@xxxxxxxxx> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@xxxxxxx> Phone : (Australia) 0413 431 874
Messages sorted by:
Reverse Date,
Date,
Thread,
Author