summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2017-10-06 16:22:08 +0200
committerJuergen Borleis <jbe@pengutronix.de>2017-10-06 16:22:36 +0200
commita2ff8c0375e9cad8221a8ec246329b0b74e50b51 (patch)
tree352e9f2d62c10d15e0200afdb1f316eab69ef85b
parent42c1b5227b79615021a46cc4212850e2f8b2b92a (diff)
downloadmemtool-a2ff8c0375e9cad8221a8ec246329b0b74e50b51.tar.gz
memtool-a2ff8c0375e9cad8221a8ec246329b0b74e50b51.tar.xz
build system: clean tree on demand
Add support for: make distclean make maintainer-clean Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
-rw-r--r--Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3de789d..3786362 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,3 +5,23 @@ bin_PROGRAMS = memtool
memtool_SOURCES = memtool.c
dist_man_MANS = memtool.1
+
+# clean files "make" has built
+CLEANFILES = \
+ $(DIST_ARCHIVES)
+
+# clean files "configure" has built
+DISTCLEAN = \
+ config.log \
+ config.status \
+ Makefile
+
+# clean all files the maintainer of the package has created
+MAINTAINERCLEANFILES = \
+ compile \
+ Makefile.in \
+ configure \
+ depcomp \
+ install-sh \
+ missing \
+ aclocal.m4