From: Mathias Megyei Date: Thu, 4 Oct 2007 21:49:19 +0000 (+0200) Subject: Do not remove distributed configure script X-Git-Tag: v1.5.3.5~47 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=922aa807f5fee97fcb2ccd1d1db63b59bdd02128;p=git.git Do not remove distributed configure script Before this patch the clean target has removed the configure script that comes with Git tar file. That made compiling Git for different architectures inconvenient. This patch excludes configure from the files to be deleted by 'make clean' and adds new target 'distclean' to preserve old functionality. Signed-off-by: Mathias Megyei Signed-off-by: Lars Hjemli Signed-off-by: Shawn O. Pearce --- diff --git a/Makefile b/Makefile index 42ba1d0fa..c63d656f5 100644 --- a/Makefile +++ b/Makefile @@ -1066,6 +1066,9 @@ dist-doc: ### Cleaning rules +distclean: clean + $(RM) configure + clean: $(RM) *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \ $(LIB_FILE) $(XDIFF_LIB) @@ -1073,7 +1076,7 @@ clean: $(RM) $(TEST_PROGRAMS) $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags $(RM) -r autom4te.cache - $(RM) configure config.log config.mak.autogen config.mak.append config.status config.cache + $(RM) config.log config.mak.autogen config.mak.append config.status config.cache $(RM) -r $(GIT_TARNAME) .doc-tmp-dir $(RM) $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz $(RM) $(htmldocs).tar.gz $(manpages).tar.gz