branch: externals/debbugs
commit 85490bdfaddf108cf62b959671da9f0f3fa0b833
Author: Michael Albinus <michael.albi...@gmx.de>
Commit: Michael Albinus <michael.albi...@gmx.de>

    Remove dir, it is generated locally now
    
    * .gitignore: Add dir.
    
    * Makefile (INSTALL_INFO): New variable.
    (%.info): Update also dir.
    
    * dir: Remove from git.
---
 .gitignore |  1 +
 Makefile   |  6 ++++--
 dir        | 29 +++++++++++++----------------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6d1bcee653..0b5a8a9404 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 *.info
 *~
 ChangeLog
+dir
diff --git a/Makefile b/Makefile
index 258d553ae1..3f2ee7a554 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@
 
 EMACS ?= emacs
 MAKEINFO ?= makeinfo
+INSTALL_INFO ?= install-info --quiet
 
 SOURCE = $(wildcard *.el)
 TESTSOURCE = $(wildcard test/*.el)
@@ -54,7 +55,8 @@ test/%.elc: test/%.el
        @$(EMACS) -Q -batch -L . -L ./test -f batch-byte-compile $<
 
 %.info: %.texi
-       $(MAKEINFO) --error-limit=0 --no-split $< -o $@
+       @$(MAKEINFO) --error-limit=0 --no-split $< -o $@
+       @$(INSTALL_INFO) --dir-file=dir $@
 
 all: build doc
 
@@ -73,4 +75,4 @@ check: $(TESTS)
          --eval '(ert-run-tests-batch-and-exit (quote ${SELECTOR}))'
 
 clean:
-       -rm -f $(TARGET) $(TESTTARGET) $(INFOMANUALS)
+       -rm -f $(TARGET) $(TESTTARGET) $(INFOMANUALS) dir
diff --git a/dir b/dir
index 1fda51a0f9..7605689a95 100644
--- a/dir
+++ b/dir
@@ -1,23 +1,20 @@
--*- Text -*-
-This is the file .../info/dir, which contains the topmost node of the
-Info hierarchy.  The first time you invoke Info you start off
-looking at that node, which is (dir)Top.
+This is the file .../info/dir, which contains the
+topmost node of the Info hierarchy, called (dir)Top.
+The first time you invoke Info you start off looking at this node.
 
-File: dir      Node: Top       This is the top of the INFO tree
+File: dir,     Node: Top       This is the top of the INFO tree
 
-The Info Directory
-******************
+  This (the Directory node) gives a menu of major topics.
+  Typing "q" exits, "H" lists all Info commands, "d" returns here,
+  "h" gives a primer for first-timers,
+  "mEmacs<Return>" visits the Emacs manual, etc.
 
-  The Info Directory is the top-level menu of major Info topics.
-  Type "d" in Info to return to the Info Directory.  Type "q" to exit Info.
-  Type "?" for a list of Info commands, or "h" to visit an Info tutorial.
-  Type "m" to choose a menu item--for instance,
-    "mEmacs<Return>" visits the Emacs manual.
-  In Emacs Info, you can click mouse button 2 on a menu item
-  or cross reference to follow it to its target.
+  In Emacs, you can click mouse button 2 on a menu item or cross reference
+  to select it.
 
-* Menu: Each line that starts with a * is a topic you can select with "m".
+* Menu:
 
 Emacs
 * Debbugs Library: (debbugs).   A library for communication with Debbugs.
-* Debbugs User Guide: (debbugs-ug).  Debbugs User Interface in Emacs.
+* Debbugs User Guide: (debbugs-ug).
+                                Debbugs User Interface in Emacs.

Reply via email to