zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zsh-3.1.6-dev-17: Doc/Makefile.in rule: Zsh/modlist.yo
@ 2000-02-06  6:38 Geoff Wing
  2000-02-06  8:03 ` Tanaka Akira
  2000-02-06 19:48 ` Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Geoff Wing @ 2000-02-06  6:38 UTC (permalink / raw)
  To: zsh-workers

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)\x01"; \
  	    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})\x01"; \
  		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@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-02-07  0:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-06  6:38 PATCH: zsh-3.1.6-dev-17: Doc/Makefile.in rule: Zsh/modlist.yo Geoff Wing
2000-02-06  8:03 ` Tanaka Akira
2000-02-06 19:48 ` Bart Schaefer
2000-02-06 23:38   ` Geoff Wing
2000-02-07  0:11     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).