From 32751766d1e02f9db53a82a4a8ccb0f5c0b4d5c2 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 8 Feb 2012 20:13:52 +0000 Subject: [PATCH] polish make maintainer-clean, make mrproper --- ChangeLog | 4 ++++ Makefile.am | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 882edb223..f7bc97a2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-08 Francesco Lannutti (Robert Larice) + * Makefile.am : + polish make maintainer-clean, make mrproper + 2012-02-07 Robert Larice * src/include/ngspice/complex.h : #4/4 finish the switch from ngcomplex* args to ngcomplex diff --git a/Makefile.am b/Makefile.am index 8ca8e1e88..631289c98 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,11 +11,10 @@ EXTRA_DIST = FAQ autogen.sh Stuarts_Poly_Notes \ xgraph/aclocal.m4 \ compile_min.sh -MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ - config.h.in config.sub configure install-sh \ +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 compile config.guess \ + src/include/ngspice/config.h.in config.sub configure install-sh \ missing mkinstalldirs stamp-h.in ltconfig \ - ltmain.sh autom4te.cache \ - depcomp ylwrap + ltmain.sh depcomp ylwrap ACLOCAL_AMFLAGS = -I m4 @@ -36,7 +35,9 @@ dist-hook: rm -rf `find $(distdir)/unsupported -name CVS` mrproper: maintainer-clean - rm -f `find . -type f -name "*~" -print` - rm -f `find . -type f -name "*.orig" -print` - rm -f `find . -type f -name "*.rej" -print` + rm -f `find $(top_srcdir) -type f -name "*~" -print` + rm -f `find $(top_srcdir) -type f -name "*.orig" -print` + rm -f `find $(top_srcdir) -type f -name "*.rej" -print` +maintainer-clean-local: + rm -rf $(top_srcdir)/m4/*.m4