all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Iain Dalton <iain.dalton@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Merging a local info file with the system's
Date: Tue, 10 Feb 2009 18:12:19 +0200	[thread overview]
Message-ID: <87zlgue0f0.fsf@iki.fi> (raw)
In-Reply-To: <mailman.323.1234280876.31690.help-gnu-emacs@gnu.org> (Iain Dalton's message of "Tue\, 10 Feb 2009 02\:49\:04 -0700")

On 2009-02-10 02:49 (-0700), Iain Dalton wrote:

> Texinfo manual Sec. 21.2.3 says you can add extra info directories to
> Info-directory-list and it will merge all the `dir' files it finds. I
> created ~/.emacs.d/info/, added info files, and made this `dir' file:
>
>     Programming
>     * ANSI Common Lisp: (ansicl).		Draft ANSI Common Lisp standard
>
> Instead of merging the dir files, "C-h i" only shows this minimal one.
> What am I doing wrong?

I have forgot the theory about how things work but I'll show you what
works in my system. I have this line in my ~/.emacs file:

    (add-to-list 'Info-default-directory-list "~/.emacs.d/info/")

And I have a Makefile (see below) for converting .texi files to .info
files and creating "dir" file. If you want to use it put it in your
~/.emacs.d/info/ directory and run "make". First it converts .texi files
(if any) to .info files and then creates a "dir" file from all .info
that are available. Just run "make" if you want to update. Command "make
clean" will delete the "dir" file and all .info files which have the
corresponding .texi file available.


# Makefile
INFO := $(patsubst %.texi,%.info,$(wildcard *.texi))

dir: $(INFO) $(wildcard *.info)
	for file in $?; do \
		ginstall-info $$file $@; done

%.info: %.texi
	makeinfo --output=$@ -- $<

clean:
	rm -f -- dir $(INFO)

.PHONY: clean




       reply	other threads:[~2009-02-10 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.323.1234280876.31690.help-gnu-emacs@gnu.org>
2009-02-10 16:12 ` Teemu Likonen [this message]
2009-02-10 17:19   ` Merging a local info file with the system's Peter Dyballa
2009-02-10  9:49 Iain Dalton

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=87zlgue0f0.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=help-gnu-emacs@gnu.org \
    --cc=iain.dalton@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.