Kludge to make automake generate install-man rules
authorJim Meyering <meyering@redhat.com>
Thu, 20 Mar 2008 17:01:35 +0000 (18:01 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 20 Mar 2008 17:01:35 +0000 (18:01 +0100)
* 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.

man/Makefile.am

index 9076afc..37bfd9a 100644 (file)
@@ -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)