zsh-workers
 help / color / mirror / code / Atom feed
* documentation fixes
@ 1997-04-01  0:00 Zefram
  0 siblings, 0 replies; only message in thread
From: Zefram @ 1997-04-01  0:00 UTC (permalink / raw)
  To: zsh-workers

-----BEGIN PGP SIGNED MESSAGE-----

This patch fixes a couple of problems concerning the documentation.

Currently, the Doc/Makefile attempts to install man pages from the
source directory, ignoring any it has built and failing if the source
tree is clean.  Conversely, the info files can't be installed from the
source tree.  This patch makes each file be checked for in first the
build directory, then the source directory.

Due to possibly a yodl bug, zshall.1 wasn't properly including zshmisc.1.
This patch fixes it.  Also, the "Files" and "See Also" sections at the
end of zshall(1) appeared to be part of zshmodules(1).  This patch adds
an extra .TH line, to change the page headings correctly.

 -zefram

 *** Doc/Makefile.in	1997/03/17 04:22:00	1.10
 --- Doc/Makefile.in	1997/03/31 00:26:06
 ***************
 *** 164,177 ****
   install.man: $(MAN)
   	$(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
   	for file in $(MAN); do \
 ! 	  $(INSTALL_DATA) $(srcdir)/$$file $(mandir)/man$(manext) ; \
   	done
   
   # install info pages, creating install directory if necessary
   install.info: zsh.info
   	$(top_srcdir)/mkinstalldirs $(infodir)
   	for file in zsh.info zsh.info-[1-9]; do \
 ! 	  [ -f "$$file" ] && $(INSTALL_DATA) $$file $(infodir) ; \
   	done
   
   # uninstall man pages
 --- 164,187 ----
   install.man: $(MAN)
   	$(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
   	for file in $(MAN); do \
 ! 	  if test -f $$file; then \
 ! 	    $(INSTALL_DATA) $$file $(mandir)/man$(manext); \
 ! 	  elif test -f $(srcdir)/$$file; then \
 ! 	    $(INSTALL_DATA) $(srcdir)/$$file $(mandir)/man$(manext); \
 ! 	  else :; \
 ! 	  fi || exit 1; \
   	done
   
   # install info pages, creating install directory if necessary
   install.info: zsh.info
   	$(top_srcdir)/mkinstalldirs $(infodir)
   	for file in zsh.info zsh.info-[1-9]; do \
 ! 	  if test -f $$file; then \
 ! 	    $(INSTALL_DATA) $$file $(infodir); \
 ! 	  elif test -f $(srcdir)/$$file; then \
 ! 	    $(INSTALL_DATA) $(srcdir)/$$file $(infodir); \
 ! 	  else :; \
 ! 	  fi || exit 1; \
   	done
   
   # uninstall man pages
 *** Doc/zsh.yo	1997/03/17 04:22:01	1.6
 --- Doc/zsh.yo	1997/03/31 00:18:28
 ***************
 *** 67,72 ****
 --- 67,73 ----
   ifnzman(includefile(Zsh/modules.yo))\x01
   ifzshall(\
   def(source)(1)(NOTRANS(.so )mandir()/ARG1NOTRANS(.)manext())\
 + CMT()
   source(zshmisc)
   source(zshexpn)
   source(zshzle)
 ***************
 *** 75,80 ****
 --- 76,82 ----
   source(zshbuiltins)
   source(zshcompctl)
   source(zshmodules)
 + manpage(ZSHALL)(manext())(date())(zsh version())
   )\
   ifzman(includefile(Zsh/filelist.yo))\x01
   ifzman(includefile(Zsh/seealso.yo))\x01

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: ascii

iQCVAwUBMz8G6nD/+HJTpU/hAQFxZQQAlNJ5F3tqFYByXaKWPudrCzQq9biYBjt8
ox6sv7dcAO5PLJMGbaxW+dZKx8PfloqCcMnEBrksa3ulsAKuMhZDl3FuLutAZNfI
ZjxphZ8FnM7WXdHKn23SmTAk4+IjMKWp4Iisxydq+Z6EI9UuN7lVSmGejIhSZF3O
RHJNn143Ifw=
=LNqj
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-01  0:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-01  0:00 documentation fixes Zefram

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).