Subject: bug#10695: my_man_MANS does not work

From: Samuel Thibault <[email-masked]>
Date: Thu, 2 Feb 2012 11:05:34 +0100

Hello,

I am trying the following:

€ cat configure.ac
AC_INIT([FOO],1.0.0)
AM_INIT_AUTOMAKE([1.11 foreign])
AC_OUTPUT([Makefile])

€ cat Makefile.am 
my_mandir = $(docdir)
my_man_MANS = foo.1

But the foo.1 manpage does not get installed:

€ autoreconf -vfi && ./configure && make install
...
make[1]: Nothing to be done for `install-exec-am'.
make[1]: Nothing to be done for `install-data-am'.

I have also tried

mydir = $(docdir)
my_man_MANS = foo.1

mydir = $(docdir)
my_MANS = foo.1

mydir = $(docdir)
my_man1_MANS = foo.1

my_man1dir = $(docdir)
my_man1_MANS = foo.1

to no avail (man_MANS = foo.1 works of course).

Samuel