summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-12 10:14:22 +0200
committerJim Meyering <meyering@redhat.com>2011-06-12 10:25:15 +0200
commit929cf564727acb17435e98b6d05e9d6453f10808 (patch)
treee78ac9c31ce487289c6c86ca6019b5d7a135c6db /man
parentdf0a31f6110b14cce7d1b3fa5a48a38d603a4e12 (diff)
downloaddiffutils-929cf564727acb17435e98b6d05e9d6453f10808.tar.gz
doc: ensure each program has a man/*.x file: add "SEE ALSO" references
* man/cmp.x: New file. * man/diff3.x: New file. * man/sdiff.x: New file. * man/diff.x: Add xrefs to the other three programs, and to patch. * man/Makefile.am (EXTRA_DIST): List new files. (cmp.1, diff3.1, sdiff.1): Depend on each .x file.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am8
-rw-r--r--man/cmp.x2
-rw-r--r--man/diff.x2
-rw-r--r--man/diff3.x2
-rw-r--r--man/sdiff.x2
5 files changed, 11 insertions, 5 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 16a6b4b..1bd5fe7 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -18,13 +18,13 @@
dist_man1_MANS = cmp.1 diff.1 diff3.1 sdiff.1
MAINTAINERCLEANFILES = $(dist_man1_MANS)
-EXTRA_DIST = diff.x
+EXTRA_DIST = $(dist_man1_MANS:%.1=%.x)
S = $(top_srcdir)/src
-cmp.1: $S/cmp.c
+cmp.1: $S/cmp.c cmp.x
diff.1: $S/diff.c diff.x
-diff3.1: $S/diff3.c
-sdiff.1: $S/sdiff.c
+diff3.1: $S/diff3.c diff3.x
+sdiff.1: $S/sdiff.c sdiff.x
# Depend on configure.ac to get version number changes.
$(dist_man1_MANS): $(top_srcdir)/configure.ac
diff --git a/man/cmp.x b/man/cmp.x
new file mode 100644
index 0000000..5c9ef82
--- /dev/null
+++ b/man/cmp.x
@@ -0,0 +1,2 @@
+[SEE ALSO]
+diff(1), diff3(1), sdiff(1)
diff --git a/man/diff.x b/man/diff.x
index 52e605c..fdb69d2 100644
--- a/man/diff.x
+++ b/man/diff.x
@@ -1,2 +1,2 @@
[SEE ALSO]
-wdiff(1)
+wdiff(1), cmp(1), diff3(1), sdiff(1), patch(1)
diff --git a/man/diff3.x b/man/diff3.x
new file mode 100644
index 0000000..0751208
--- /dev/null
+++ b/man/diff3.x
@@ -0,0 +1,2 @@
+[SEE ALSO]
+cmp(1), diff(1), sdiff(1)
diff --git a/man/sdiff.x b/man/sdiff.x
new file mode 100644
index 0000000..fdc9c3e
--- /dev/null
+++ b/man/sdiff.x
@@ -0,0 +1,2 @@
+[SEE ALSO]
+cmp(1), diff(1), diff3(1)