summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-20 18:01:35 +0100
committerJim Meyering <meyering@redhat.com>2008-03-20 18:01:35 +0100
commit4682f132f2d06cb7c93b94f1cf35795116291f74 (patch)
tree286ff1b93efb56767234c2df7beb3e857ccff1dd /man
parent8058da00651579c6f36f9e45707346c47fba861b (diff)
downloadcoreutils-4682f132f2d06cb7c93b94f1cf35795116291f74.tar.xz
Kludge to make automake generate install-man rules
* man/Makefile.am (dist_man_MANS): Add a literal, rm.1. Without this, "make install" would not install man pages. However, with this kludge, the rm.1 man page is installed even when you configure with --enable-no-install-program=rm.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 9076afcb0..37bfd9a2a 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -15,7 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-dist_man_MANS = $(MAN)
+# We must include at least one literal name here, so that
+# automake-1.10.1 emits the required install-man* rules.
+dist_man_MANS = rm.1 $(MAN)
man_aux = $(dist_man_MANS:.1=.x)