doc: Follow advice from Automake doc
authorJens Georg <mail@jensge.org>
Thu, 31 May 2012 08:56:45 +0000 (10:56 +0200)
committerJens Georg <mail@jensge.org>
Tue, 5 Jun 2012 10:35:07 +0000 (12:35 +0200)
Don't use the general dist_man_MANS but the specific section variables.

doc/Makefile.am

index 49a53c0..0960fb9 100644 (file)
@@ -1,5 +1,7 @@
-dist_man_MANS = \
-               rygel.1 \
+dist_man1_MANS = \
+               rygel.1
+
+dist_man5_MANS = \
                rygel.conf.5
 
 EXTRA_DIST = \
@@ -11,5 +13,5 @@ if HAVE_XSLTPROC
 %.5 %.1: man/%.xml
        $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 CLEANFILES = \
-               $(dist_man_MANS)
+               $(dist_man1_MANS) $(dist_man5_MANS)
 endif