From: Andre Noll Date: Thu, 1 Oct 2009 00:07:16 +0000 (+0200) Subject: Introduce clean2 target. X-Git-Tag: v0.4.0~19 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=fae8095971a93934d44c64598867d3cb6adaa3bf;ds=sidebyside 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. --- 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)