summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-02-15 15:28:09 +0100
committerBram Moolenaar <Bram@vim.org>2011-02-15 15:28:09 +0100
commit542512a3e5582ad6630aac0f05dddcdef1558031 (patch)
tree1a8b9f35bc888ea544891d8dcac9955cce7acbf4 /Makefile
parentb75d09d42b4fb277071afd166c8a394a8b6e0fda (diff)
downloadvim-git-542512a3e5582ad6630aac0f05dddcdef1558031.tar.gz
updated for version 7.3.122v7.3.122
Problem: Having auto/config.mk in the repository causes problems. Solution: Remove auto/config.mk from the distribution. In the toplevel Makefile copy it from the "dist" file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bf2b30925..a48112eca 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@
# has run can result in compiling with $(CC) empty.
first:
+ @if test ! -f src/auto/config.mk; then \
+ cp src/config.mk.dist src/auto/config.mk; \
+ fi
@echo "Starting make in the src directory."
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@
@@ -30,6 +33,9 @@ first:
# Some make programs use the last target for the $@ default; put the other
# targets separately to always let $@ expand to "first" by default.
all install uninstall tools config configure reconfig proto depend lint tags types test testclean clean distclean:
+ @if test ! -f src/auto/config.mk; then \
+ cp src/config.mk.dist src/auto/config.mk; \
+ fi
@echo "Starting make in the src directory."
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@