From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: docs
Date: Fri, 7 Jan 2000 15:49:02 +0100 (MET) [thread overview]
Message-ID: <200001071449.PAA23487@beta.informatik.hu-berlin.de> (raw)
My makeinfo at least can't parse a menu definition if it contains the
comments inserted by yodl. So I need to move the {start,end}menu()
from modlist.yo to modmenu.yo (and add manmodmenu.yo for manual.yo).
And is there a reason why `make clean' doesn't remove the manual files
and the automatically created files in Doc/Zsh? If so, the last hunk
for Makefile.in shouldn't be applied.
Bye
Sven
diff -ru ../z.old/Doc/Makefile.in ./Doc/Makefile.in
--- ../z.old/Doc/Makefile.in Fri Jan 7 11:33:16 2000
+++ ./Doc/Makefile.in Fri Jan 7 15:36:23 2000
@@ -67,7 +67,7 @@
Zsh/exec.yo Zsh/expn.yo \
Zsh/filelist.yo Zsh/files.yo Zsh/func.yo Zsh/grammar.yo Zsh/manual.yo \
Zsh/index.yo Zsh/intro.yo Zsh/invoke.yo Zsh/jobs.yo Zsh/metafaq.yo \
-Zsh/modules.yo Zsh/modlist.yo Zsh/modmenu.yo $(MODDOCSRC) \
+Zsh/modules.yo Zsh/modlist.yo Zsh/modmenu.yo Zsh/manmodmenu.yo $(MODDOCSRC) \
Zsh/options.yo Zsh/params.yo Zsh/prompt.yo Zsh/redirect.yo Zsh/restricted.yo \
Zsh/seealso.yo Zsh/zftpsys.yo Zsh/zle.yo
@@ -178,9 +178,7 @@
echo ")"; \
done; \
echo "enditem()"; \
- echo "startmenu()"; \
echo "includefile(Zsh/modmenu.yo)\x01"; \
- echo "endmenu()"; \
set '' $(MODDOCSRC); \
unset mod1 mod2 mod3; \
test ".$$2" != . && \
@@ -200,12 +198,22 @@
Zsh/modmenu.yo: $(MODDOCSRC)
( \
+ echo "startmenu()"; \
for modfile in $(MODDOCSRC); do \
sed -n '1{s|^COMMENT(!MOD!\(.*\)$$|menu(The \1 Module)|;p;q;}' \
< $(sdir)/$$modfile; \
- done \
+ done; \
+ echo "endmenu()" \
) > $(sdir)/Zsh/modmenu.yo
+Zsh/manmodmenu.yo: $(MODDOCSRC)
+ ( \
+ for modfile in $(MODDOCSRC); do \
+ sed -n '1{s|^COMMENT(!MOD!\(.*\)$$|menu(The \1 Module)|;p;q;}' \
+ < $(sdir)/$$modfile; \
+ done \
+ ) > $(sdir)/Zsh/manmodmenu.yo
+
# ========== DEPENDENCIES FOR INSTALLING ==========
# install just installs the manual pages
@@ -278,6 +286,7 @@
rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
rm -rf infodir
+ rm -f *.1 Zsh/modlist.yo Zsh/modmenu.yo Zsh/manmodmenu.yo
.PHONY: clean-here
distclean-here: clean-here
diff -ru ../z.old/Doc/Zsh/manual.yo Doc/Zsh/manual.yo
--- ../z.old/Doc/Zsh/manual.yo Fri Jan 7 11:33:13 2000
+++ Doc/Zsh/manual.yo Fri Jan 7 15:34:34 2000
@@ -115,7 +115,7 @@
Zsh Modules
-includefile(Zsh/modmenu.yo)\x01
+includefile(Zsh/manmodmenu.yo)\x01
endmenu()
texinode(The Z Shell Manual)(Introduction)(Top)(Top)
chapter(The Z Shell Manual)
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-01-07 14:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-07 14:49 Sven Wischnowsky [this message]
2000-01-07 19:22 ` Zefram
2000-01-08 20:17 ` Bart Schaefer
2000-01-08 20:21 ` Bart Schaefer
2000-04-28 13:17 Sven Wischnowsky
2000-04-28 17:03 ` Bart Schaefer
2000-10-05 8:38 Sven Wischnowsky
2000-10-05 13:53 ` Andrej Borsenkow
2000-10-05 14:06 Sven Wischnowsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200001071449.PAA23487@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).