git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] autoconf: clean temporary file mak.append

From
Junio C Hamano <junkio@cox.net>
Date
Aug 8, 2006, 20:43 UTC
Message-ID
<7vk65juff7.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200608081834.09271.jnareb@gmail.com>

When configure is interrupted in the middle it leaves config.mak.append behind. Add it to .gitignore and make sure $(MAKE) clean removes it.

Also earlier .gitignore listed config.mak.in which is a tracked file. Fix it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 * on top of today's 5 series from you.
 .gitignore |    2 +-
 Makefile   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index fb0fa3f..6e973b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -140,7 +140,7 @@ config.mak
 autom4te.cache
 config.log
 config.status
-config.mak.in
 config.mak.autogen
+config.mak.append
 configure
 git-blame
diff --git a/Makefile b/Makefile
index d8cc835..d4297c2 100644
--- a/Makefile
+++ b/Makefile
@@ -793,7 +793,7 @@ clean:
 	rm -f $(ALL_PROGRAMS) $(BUILT_INS) git$X
 	rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
 	rm -rf autom4te.cache
-	rm -f config.log config.mak.autogen configure config.status config.cache
+	rm -f configure config.log config.mak.autogen config.mak.append config.status config.cache
 	rm -rf $(GIT_TARNAME) .doc-tmp-dir
 	rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
 	rm -f $(htmldocs).tar.gz $(manpages).tar.gz
-- 
1.4.2.rc3.g45c5
Previous: Jakub NarebskiNext: Jakub Narebski
Message 8 of 15 in “autoconf: Some improvements”
  1. 0/4 autoconf: Some improvementsJakub Narebski, Aug 8, 2006
  2. 1/4 autoconf: Add configure target to main MakefileJakub Narebski, Aug 8, 2006
  3. 5/4 autoconf: Mention "make configure" instead of "autoconf" in INSTALLJakub Narebski, Aug 8, 2006
  4. 2/4 autoconf: Error out on --without-shell and --without-perlJakub Narebski, Aug 8, 2006
  5. 3/4 autoconf: Improvements in NO_PYTHON/PYTHON_PATH handlingJakub Narebski, Aug 8, 2006
  6. 4/4 autoconf: Move variables which we always set to config.mak.inJakub Narebski, Aug 8, 2006
  7. 6/4 autoconf: Add forgotten NO_OPENSSL=@NO_OPENSSL@ to config.mak.inJakub Narebski, Aug 8, 2006
  8. autoconf: clean temporary file mak.appendJunio C Hamano, Aug 8, 2006
  9. Jakub NarebskiAug 8, 2006
  10. Junio C HamanoAug 8, 2006
  11. autoconf: Add support for setting CURLDIR, OPENSSLDIR, EXPATDIRJakub Narebski, Aug 9, 2006
  12. Jakub NarebskiAug 10, 2006
  13. Junio C HamanoAug 10, 2006
  14. Jakub NarebskiAug 10, 2006
  15. autoconf: It is --without-python, not --no-pythonJakub Narebski, Aug 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.