Maintainer's effort: add proper DISTCHECK, DISTCLEANFILES and
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 2 Aug 2008 10:36:41 +0000 (2 12:36 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 2 Aug 2008 10:36:41 +0000 (2 12:36 +0200)
MAINTAINERCLEANFILES options to the Makefile.am files.

Makefile.am
data/Makefile.am
docs/Makefile.am
docs/libmmanager-gtk/Makefile.am
docs/libmmanager/Makefile.am
libmmanager-gtk/Makefile.am
libmmanager/Makefile.am
src/Makefile.am

index f5fcea3..7c93f50 100644 (file)
@@ -2,6 +2,28 @@ SUBDIRS = po data libmmanager libmmanager-gtk src test docs
 
 ACLOCAL_AMFLAGS = -I m4
 
+DISTCLEANFILES =               \
+       gnome-doc-utils.make    \
+       gtk-doc.make
+
+DISTCHECK_CONFIGURE_FLAGS =    \
+       --enable-gtk-doc
+
+MAINTAINERCLEANFILES =         \
+       *~                      \
+       compile                 \
+       configure               \
+       install-sh              \
+       missing                 \
+       mkinstalldirs           \
+       config.guess            \
+       ltmain.sh               \
+       config.sub              \
+       depcomp                 \
+       Makefile.in             \
+       config.h.*              \
+       aclocal.m4
+
 EXTRA_DIST = \
        ChangeLog
 
index cc0e357..686576c 100644 (file)
@@ -7,8 +7,9 @@ service_DATA = $(service_in_files:.service.in=.service)
 $(service_DATA): $(service_in_files) Makefile
        @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
        
-EXTRA_DIST = \
-  $(service_in_files)
+EXTRA_DIST = $(service_in_files)
 
-DISTCLEANFILES = \
-  $(service_DATA)
+DISTCLEANFILES = $(service_DATA)
+MAINTAINERCLEANFILES = \
+       *~              \
+       Makefile.in
index fdff953..e896672 100644 (file)
@@ -1 +1,3 @@
 SUBDIRS = libmmanager libmmanager-gtk
+
+MAINTAINERCLEANFILES = Makefile.in
index 2082775..735bea4 100644 (file)
@@ -40,3 +40,9 @@ HTML_IMAGES =
 
 include $(top_srcdir)/gtk-doc.make
 
+clean: clean-am
+       rm -rf tmpl
+
+MAINTAINERCLEANFILES = \
+       *~              \
+       Makefile.in
index a37b7e6..bf1ed93 100644 (file)
@@ -41,3 +41,9 @@ HTML_IMAGES =
 
 include $(top_srcdir)/gtk-doc.make
 
+clean: clean-am
+       rm -rf tmpl
+
+MAINTAINERCLEANFILES = \
+       *~              \
+       Makefile.in
index b00ea0b..9ec69f3 100644 (file)
@@ -33,6 +33,10 @@ libmmanager_gtk_la_SOURCES =         \
        mm-gtk-hit-store.c              \
        mm-gtk-hit-view.c
 
+MAINTAINERCLEANFILES =         \
+       *~                      \
+       Makefile.in
+
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libmmanager-gtk.pc
 
index f49ed4c..9a43d80 100644 (file)
@@ -128,7 +128,11 @@ stamp-mm-type-builtins.h: Makefile $(libmmanager_la_headers)
        
 CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
 DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
-MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
+MAINTAINERCLEANFILES =                 \
+       *~                      \
+       Makefile.in             \
+       $(stamp_files)          \
+       $(BUILT_SOURCES)
 
 pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA=libmmanager.pc
index 752373b..f20cbac 100644 (file)
@@ -118,7 +118,11 @@ stamp-mm-dbus-module-client-bindings.h: mm-dbus-module-info.xml Makefile
 
 CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
 DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
-MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
+MAINTAINERCLEANFILES =         \
+       *~                      \
+       Makefile.in             \
+       $(stamp_files)          \
+       $(BUILT_SOURCES)
 
 EXTRA_DIST =                           \
        mm-dbus-manager-info.xml        \