diff options
| author | Glenn Morris | 2013-12-12 00:54:21 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-12-12 00:54:21 -0800 |
| commit | 62bd73fa7a8c50504bc6f916b86603ea654fc472 (patch) | |
| tree | c0f269198491a68fe4fbedcb9a95ddf11c4ac600 /admin | |
| parent | 397a32c12ad097314c0948818d5c54b43d9f3d54 (diff) | |
| download | emacs-62bd73fa7a8c50504bc6f916b86603ea654fc472.tar.gz emacs-62bd73fa7a8c50504bc6f916b86603ea654fc472.zip | |
Stop keeping info/dir in the repository.
* build-aux/dir_top: Move here from admin/.
* build-aux/make-info-dir: New script.
* Makefile.in (bootstrap-clean): Delete info/.
(info-dir, ${srcdir}/info/dir): New rules.
(info): Also make info-dir.
(check-info): Rename from check-info-dir.
Instead of info/dir entries, check @dircategory in info/*.info.
* make-dist: Use `info' rule rather than `info-real'.
No more info/COPYING (not even the right license for info/ files).
* info/: Remove from repository.
* admin/update_autogen (info_dir):
Use dir_top from build-aux/ rather than admin/.
* .bzrignore: Ignore info/ altogether.
* doc/emacs/Makefile.in: Comment.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 3 | ||||
| -rw-r--r-- | admin/dir_top | 20 | ||||
| -rwxr-xr-x | admin/update_autogen | 9 |
3 files changed, 8 insertions, 24 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index b617df9be99..e31c7251ffb 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-12-12 Glenn Morris <rgm@gnu.org> | 1 | 2013-12-12 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * update_autogen (info_dir): | ||
| 4 | Use dir_top from build-aux/ rather than admin/. | ||
| 5 | |||
| 3 | * update_autogen: Add option to generate info/dir. | 6 | * update_autogen: Add option to generate info/dir. |
| 4 | (Usage): Add -I. | 7 | (Usage): Add -I. |
| 5 | (info_flag): New variable. | 8 | (info_flag): New variable. |
diff --git a/admin/dir_top b/admin/dir_top deleted file mode 100644 index 321a39dc35e..00000000000 --- a/admin/dir_top +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | This is the file .../info/dir, which contains the | ||
| 2 | topmost node of the Info hierarchy, called (dir)Top. | ||
| 3 | The first time you invoke Info you start off looking at this node. | ||
| 4 | |||
| 5 | File: dir, Node: Top This is the top of the INFO tree | ||
| 6 | |||
| 7 | The Info Directory | ||
| 8 | ****************** | ||
| 9 | |||
| 10 | The Info Directory is the top-level menu of major Info topics. | ||
| 11 | Type "d" in Info to return to the Info Directory. Type "q" to exit Info. | ||
| 12 | Type "?" for a list of Info commands, or "h" to visit an Info tutorial. | ||
| 13 | Type "m" to choose a menu item--for instance, | ||
| 14 | "mEmacs<Return>" visits the Emacs manual. | ||
| 15 | In Emacs Info, you can click mouse button 2 on a menu item | ||
| 16 | or cross reference to follow it to its target. | ||
| 17 | Each menu line that starts with a * is a topic you can select with "m". | ||
| 18 | Every third topic has a red * to help pick the right number to type. | ||
| 19 | |||
| 20 | * Menu: | ||
diff --git a/admin/update_autogen b/admin/update_autogen index 918106b5efa..154c184a068 100755 --- a/admin/update_autogen +++ b/admin/update_autogen | |||
| @@ -212,11 +212,11 @@ commit () | |||
| 212 | } # function commit | 212 | } # function commit |
| 213 | 213 | ||
| 214 | 214 | ||
| 215 | ## FIXME use standard tools for this, generate info/dir at build time | 215 | ## No longer used since info/dir is now generated at install time if needed, |
| 216 | ## if needed, stop keeping in the repo. | 216 | ## and is not in the repository any more. |
| 217 | info_dir () | 217 | info_dir () |
| 218 | { | 218 | { |
| 219 | local basefile=admin/dir_top outfile=info/dir | 219 | local basefile=build-aux/dir_top outfile=info/dir |
| 220 | 220 | ||
| 221 | echo "Regenerating info/dir..." | 221 | echo "Regenerating info/dir..." |
| 222 | 222 | ||
| @@ -247,7 +247,8 @@ EOF | |||
| 247 | 247 | ||
| 248 | dircat=`sed -n -e 's/@value{emacsname}/Emacs/' -e 's/^@dircategory //p' $file` | 248 | dircat=`sed -n -e 's/@value{emacsname}/Emacs/' -e 's/^@dircategory //p' $file` |
| 249 | 249 | ||
| 250 | ## TODO warn about unknown topics. | 250 | ## TODO warn about unknown topics (check-info in top-level |
| 251 | ## Makefile does this). | ||
| 251 | [ "$dircat" = "$topic" ] || continue | 252 | [ "$dircat" = "$topic" ] || continue |
| 252 | 253 | ||
| 253 | sed -n -e 's/@value{emacsname}/Emacs/' \ | 254 | sed -n -e 's/@value{emacsname}/Emacs/' \ |