Clean up man pages on 'clean'
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Aug 2012 13:57:48 +0000 (09:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 16 Aug 2012 22:06:08 +0000 (18:06 -0400)
Follow the automake heuristic that says "if 'make' created it,
'make clean' should remove it".

https://bugzilla.gnome.org/show_bug.cgi?id=681336

docs/reference/gio/Makefile.am
docs/reference/glib/Makefile.am
docs/reference/gobject/Makefile.am

index 6b4ab9e..fc02b6f 100644 (file)
@@ -179,7 +179,7 @@ dist-local-check-mans-enabled:
 
 endif
 
-MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
+CLEANFILES += $(man_MANS)
 
 EXTRA_DIST += $(man_MANS)
 
index 7108aeb..b5626ba 100644 (file)
@@ -127,7 +127,7 @@ dist-local-check-mans-enabled:
 
 endif
 
-MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
+CLEANFILES += $(man_MANS)
 
 EXTRA_DIST += $(man_MANS)
 
index 96181f6..bfd4cd7 100644 (file)
@@ -102,7 +102,7 @@ dist-local-check-mans-enabled:
 
 endif
 
-MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
+CLEANFILES += $(man_MANS)
 
 EXTRA_DIST += $(man_MANS)