zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info
@ 1999-01-26 13:47 Andrej Borsenkow
  1999-01-26 18:14 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Andrej Borsenkow @ 1999-01-26 13:47 UTC (permalink / raw)
  To: ZSH workers mailing list

The patch below creates entry for ZSH in info dir file. The item is created
in Utilities section, simply because it is, where bash is placed as well
(shells are to keep together :-) I was tempted to name item "The Ultimate
Shell" ... in any case, current name is simply placeholder.

The patch also updates ztexi.yo to add direntry to zsh.texi.

It works with install-info from the latest texinfo-3.12.

/andrej

--- Doc/Makefile.in.org Tue Nov 10 11:37:49 1998
+++ Doc/Makefile.in     Tue Jan 26 16:26:22 1999
@@ -141,6 +141,11 @@
          else :; \
           fi || exit 1; \
        done
+       if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+               install-info --dir-file=$(infodir)/dir $(infodir)/zsh.info;
\
+       else true; fi
+
+

 install.html: zsh_toc.html
        $(sdir_top)/mkinstalldirs $(htmldir)
--- Doc/ztexi.yo.org    Sat Sep 26 21:56:55 1998
+++ Doc/ztexi.yo        Tue Jan 26 16:24:33 1999
@@ -57,6 +57,12 @@
   NOTRANS(@iftex)NL()\
   NOTRANS(@set dsq '{}')NL()\
   NOTRANS(@end iftex)NL()\
+  NOTRANS(@ifinfo)NL()\
+  NOTRANS(@dircategory Utilities)NL()\
+  NOTRANS(@direntry)NL()\
+  NOTRANS(     * ZSH: (zsh).                     The Z Shell Guide.)NL()\
+  NOTRANS(@end direntry)NL()\
+  NOTRANS(@end ifinfo)NL()\
 )

 def(texiifinfo)(1)(\


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

* Re: PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info
  1999-01-26 13:47 PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info Andrej Borsenkow
@ 1999-01-26 18:14 ` Bart Schaefer
  1999-01-26 18:20   ` Andrej Borsenkow
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1999-01-26 18:14 UTC (permalink / raw)
  To: Andrej Borsenkow, ZSH workers mailing list

On Jan 26,  4:47pm, Andrej Borsenkow wrote:
} Subject: PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info
}
} The patch below creates entry for ZSH in info dir file.

I get "malformed patch" when I try to apply this.  Did something rewrap
some lines?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* RE: PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info
  1999-01-26 18:14 ` Bart Schaefer
@ 1999-01-26 18:20   ` Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 1999-01-26 18:20 UTC (permalink / raw)
  To: Bart Schaefer, ZSH workers mailing list

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

> 
> I get "malformed patch" when I try to apply this.  Did something rewrap
> some lines?
> 

Yep. Outlook.

Now attached. Sorry.

/andrej

[-- Attachment #2: zsh.texidir.patch --]
[-- Type: application/octet-stream, Size: 850 bytes --]

--- Doc/Makefile.in.org	Tue Nov 10 11:37:49 1998
+++ Doc/Makefile.in	Tue Jan 26 16:26:22 1999
@@ -141,6 +141,11 @@
 	  else :; \
 	   fi || exit 1; \
 	done
+	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+		install-info --dir-file=$(infodir)/dir $(infodir)/zsh.info; \
+	else true; fi
+
+
 
 install.html: zsh_toc.html
 	$(sdir_top)/mkinstalldirs $(htmldir)
--- Doc/ztexi.yo.org	Sat Sep 26 21:56:55 1998
+++ Doc/ztexi.yo	Tue Jan 26 16:24:33 1999
@@ -57,6 +57,12 @@
   NOTRANS(@iftex)NL()\
   NOTRANS(@set dsq '{}')NL()\
   NOTRANS(@end iftex)NL()\
+  NOTRANS(@ifinfo)NL()\
+  NOTRANS(@dircategory Utilities)NL()\
+  NOTRANS(@direntry)NL()\
+  NOTRANS(     * ZSH: (zsh).                     The Z Shell Guide.)NL()\
+  NOTRANS(@end direntry)NL()\
+  NOTRANS(@end ifinfo)NL()\
 )
 
 def(texiifinfo)(1)(\

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

* RE: PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info
       [not found] <990126103248.ZM24394@candle.brasslantern.com>
@ 1999-01-26 18:50 ` Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 1999-01-26 18:50 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: ZSH workers mailing list

>
> Thanks.  BTW, it would be more "standard" for there to be a
> separate target
> in the Makefile, "make install-info", which has to be done separately from
> "make install".
>


It is not my choice. I am all for it, but it was not me who wrote Makefile.
So I Cc it to zsh-workers for general discussion.

/andrej


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

end of thread, other threads:[~1999-01-26 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-26 13:47 PATCH: zsh-3.1.5-pws-5: creating info dir entry with install.info Andrej Borsenkow
1999-01-26 18:14 ` Bart Schaefer
1999-01-26 18:20   ` Andrej Borsenkow
     [not found] <990126103248.ZM24394@candle.brasslantern.com>
1999-01-26 18:50 ` Andrej Borsenkow

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