diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-11 14:06:10 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-12 09:47:27 +0200 |
commit | df0a31f6110b14cce7d1b3fa5a48a38d603a4e12 (patch) | |
tree | 2602d0425692311e96d8bf767c2d6309ff47e71f | |
parent | a2b10ab0d6f8f11c380fdb1dedd920dfa1359a90 (diff) | |
download | diffutils-df0a31f6110b14cce7d1b3fa5a48a38d603a4e12.tar.gz |
doc: rename diff.texi to diffutils.texi
This makes the .texi basename the same as the package name,
which is consistent with most other GNU packages.
* doc/diffutils.texi: Rename from...
* doc/diff.texi: ...removed.
* doc/Makefile.am (info_TEXINFOS): Reflect name change.
(diffutils_TEXINFOS): Likewise.
* cfg.mk (gendocs_options_): Remove this customization. It is no
longer needed, now that the .texi name matches that of the package.
* man/Makefile.am ($(dist_man1_MANS)): Remove now-unnecessary sed
filter.
* README: Update references to diffutils.texi etc. here, too.
* .gitignore: Update here, too.
Suggested by Karl Berry.
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | cfg.mk | 2 | ||||
-rw-r--r-- | doc/Makefile.am | 4 | ||||
-rw-r--r-- | doc/diffutils.texi (renamed from doc/diff.texi) | 14 | ||||
-rw-r--r-- | man/Makefile.am | 3 |
6 files changed, 15 insertions, 18 deletions
@@ -17,7 +17,7 @@ /diffutils-*.tar.gz /diffutils-*.tar.xz /doc/.gitignore -/doc/diff.info +/doc/diffutils.info /doc/stamp-vti /doc/version.texi /gnulib-tests @@ -8,10 +8,10 @@ Please see the file COPYING for copying conditions. Please see the file doc/version.texi for version information. -Please see the file doc/diff.texi (or doc/diff.info) for documentation -that can be printed with TeX, or read with the `info' program or with -Emacs's `M-x info'. Brief man pages are in man/*, but they are no -substitute for the documentation. +Please see the file doc/diffutils.texi (or doc/diffutils.info) for +documentation that can be printed with TeX, or read with the `info' +program or with Emacs's `M-x info'. Brief man pages are in man/*, +but they are no substitute for the documentation. Please see the file ABOUT-NLS for notes about translations. @@ -41,8 +41,6 @@ update-copyright-env = \ -include $(srcdir)/dist-check.mk -gendocs_options_ = -s $(srcdir)/diff.texi - _cf_state_dir ?= .config-state _date_time := $(shell date +%F.%T) config-compare: diff --git a/doc/Makefile.am b/doc/Makefile.am index 99287fa..73e8a37 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,7 +17,7 @@ AM_MAKEINFOFLAGS = --no-split -info_TEXINFOS = diff.texi -diff_TEXINFOS = fdl.texi +info_TEXINFOS = diffutils.texi +diffutils_TEXINFOS = fdl.texi EXTRA_DIST = diagmeet.note diff --git a/doc/diff.texi b/doc/diffutils.texi index b9e23dc..4abc3fe 100644 --- a/doc/diff.texi +++ b/doc/diffutils.texi @@ -1,6 +1,6 @@ \input texinfo @c -*-texinfo-*- @comment %**start of header -@setfilename diff.info +@setfilename diffutils.info @include version.texi @settitle Comparing and Merging Files @syncodeindex vr cp @@ -36,16 +36,16 @@ supports it in developing GNU and promoting software freedom.'' @c first dircategory. Put this one first, as it is more useful in practice. @dircategory Individual utilities @direntry -* cmp: (diff)Invoking cmp. Compare 2 files byte by byte. -* diff: (diff)Invoking diff. Compare 2 files line by line. -* diff3: (diff)Invoking diff3. Compare 3 files line by line. -* patch: (diff)Invoking patch. Apply a patch to a file. -* sdiff: (diff)Invoking sdiff. Merge 2 files side-by-side. +* cmp: (diffutils)Invoking cmp. Compare 2 files byte by byte. +* diff: (diffutils)Invoking diff. Compare 2 files line by line. +* diff3: (diffutils)Invoking diff3. Compare 3 files line by line. +* patch: (diffutils)Invoking patch. Apply a patch to a file. +* sdiff: (diffutils)Invoking sdiff. Merge 2 files side-by-side. @end direntry @dircategory Text creation and manipulation @direntry -* Diff: (diff). Comparing and merging files. +* Diffutils: (diffutils). Comparing and merging files. @end direntry @titlepage diff --git a/man/Makefile.am b/man/Makefile.am index d3cff23..16a6b4b 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -31,5 +31,4 @@ $(dist_man1_MANS): $(top_srcdir)/configure.ac $(AM_V_GEN)base=`expr $@ : '\(.*\).1'` && \ (echo '[NAME]' && sed 's@/\* *@@; s/-/\\-/; q' $S/$$base.c) | \ $(HELP2MAN) -i - -i $(srcdir)/$$base.x -S '$(PACKAGE) $(VERSION)' \ - ../src/$$base \ - | sed 's/^\.B info .*/.B info diff/' >$@ + ../src/$$base > $@-t && mv $@-t $@ |