aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2016-10-12 12:49:06 -0700
committerGeoff Levand <geoff@infradead.org>2016-10-12 12:49:06 -0700
commit0de968c5618c2c49d976b725e1b1c1d7762651b8 (patch)
tree5f361145becebd4dbf2a89130cfd0af90adf16af
parent22a05b636d38dfd96d48875f1db9d21c107c5e5c (diff)
downloadlibtwin-0de968c5618c2c49d976b725e1b1c1d7762651b8.tar.gz
makefile.am: Fix maintainer-clean target
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac1
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6bd21a4..c7adeed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
AM_CFLAGS = @WARN_CFLAGS@ @ALTIVEC_CFLAGS@
extra_dist_files = \
@@ -143,3 +145,9 @@ twin_ttf_twin_ttf_SOURCES = \
twin_ttf_twin_ttf_LDADD = @FREETYPE_LIBS@ -lm
twin_ttf_twin_ttf_CFLAGS = -g @WARN_CFLAGS@
twin_ttf_twin_ttf_CPPFLAGS = @FREETYPE_CFLAGS@ -I$(top_srcdir)/twin_ttf
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 compile config.* configure \
+ depcomp install-sh ltmain.sh missing twin_def.h.in* $(PACKAGE)-*.gz
+
+maintainer-clean-local:
+ rm -rf m4
diff --git a/configure.ac b/configure.ac
index 7418e02..405a419 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ AC_PREREQ([2.69])
AC_INIT([libtwin],[0.0.3],[Geoff Levand <geoff@infradead.org>])
AC_CONFIG_AUX_DIR(.)
+AC_CONFIG_MACRO_DIRS([m4])
AM_INIT_AUTOMAKE([subdir-objects])
AM_MAINTAINER_MODE