From fae8095971a93934d44c64598867d3cb6adaa3bf Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 1 Oct 2009 02:07:16 +0200 Subject: [PATCH] Introduce clean2 target. This makes the clean target remove objects and binaries only. The new clean2 target removes in addition the man dir and the object dir (hence all .d files) completely. --- Makefile.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index b156d1a7..d71c0c9a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -202,19 +202,22 @@ para_afh: $(afh_objs) $(CC) $(LDFLAGS) -o $@ $(afh_objs) @afh_ldflags@ clean: - rm -f $(BINARIES) - rm -f *_command_list.* + rm -f $(BINARIES) $(object_dir)/*.o + +clean2: clean rm -rf man $(object_dir) -distclean: clean + rm -f *_command_list.* + +distclean: clean2 rm -f Makefile autoscan.log config.status config.log && \ - rm -rf cmdline autom4te.cache aclocal.m4 + rm -rf autom4te.cache aclocal.m4 rm -f GPATH GRTAGS GSYMS GTAGS maintainer-clean: distclean rm -f $(ggo_generated) *.tar.bz2 \ config.h configure \ config.h.in skencil/*.pdf skencil/*.ps - rm -rf web_sync + rm -rf web_sync $(cmdline_dir) install: all man mkdir -p $(BINDIR) $(MANDIR) -- 2.39.5