libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 6/6] Add MAINTAINERCLEANFILES to Makefile.am fi


From: Zachary T Welch
Subject: [Libunwind-devel] [PATCH 6/6] Add MAINTAINERCLEANFILES to Makefile.am files.
Date: Thu, 28 Oct 2010 16:25:51 -0700

Ensures 'make maintainer-clean' removes files generated by autotools.

Signed-off-by: Zachary T Welch <address@hidden>
---
 Makefile.am       |   15 +++++++++++++++
 doc/Makefile.am   |    2 ++
 src/Makefile.am   |    1 +
 tests/Makefile.am |    2 ++
 4 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a7de2fb..9484c97 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,3 +65,18 @@ EXTRA_DIST = include/dwarf.h include/dwarf_i.h 
include/dwarf-eh.h    \
        include/tdep-ppc64/jmpbuf.h include/tdep-ppc64/libunwind_i.h    \
        include/libunwind.h include/tdep/libunwind_i.h                  \
        include/tdep/jmpbuf.h include/tdep/dwarf-config.h
+
+MAINTAINERCLEANFILES = \
+       Makefile.in \
+       INSTALL \
+       aclocal.m4 \
+       configure \
+       config/compile \
+       config/config.guess \
+       config/config.sub \
+       config/depcomp \
+       config/install-sh \
+       config/ltmain.sh \
+       config/missing \
+       include/config.h.in \
+       include/config.h.in~
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b414568..4730f9b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -67,3 +67,5 @@ pdf:
                page=`basename $$n .man`;                               \
                $(L2P) $(srcdir)/$$page.tex "$$page(3).pdf";            \
        done
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/src/Makefile.am b/src/Makefile.am
index 3107b00..5970777 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -520,6 +520,7 @@ EXTRA_DIST =        elfxx.h elfxx.c 
unwind/unwind-internal.h        \
                $(libunwind_setjmp_la_SOURCES_ppc32)            \
                $(libunwind_setjmp_la_SOURCES_ppc64)
 
+MAINTAINERCLEANFILES = Makefile.in
 
 # The -version-info flag accepts an argument of the form
 # `current[:revision[:age]]'. So, passing `-version-info 3:12:1' sets
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 794f33f..367d38c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,6 +3,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
 EXTRA_DIST =   run-ia64-test-dyn1 run-ptrace-mapper run-ptrace-misc    \
                run-check-namespace check-namespace.sh.in Gtest-nomalloc.c
 
+MAINTAINERCLEANFILES = Makefile.in
+
 noinst_PROGRAMS_common =
 check_PROGRAMS_common = test-proc-info test-static-link \
                        test-strerror
-- 
1.7.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]