Karsten Hopp f9ba96
To: vim_dev@googlegroups.com
Karsten Hopp f9ba96
Subject: Patch 7.3.122
Karsten Hopp f9ba96
Fcc: outbox
Karsten Hopp f9ba96
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f9ba96
Mime-Version: 1.0
Karsten Hopp f9ba96
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f9ba96
Content-Transfer-Encoding: 8bit
Karsten Hopp f9ba96
------------
Karsten Hopp f9ba96
Karsten Hopp f9ba96
Patch 7.3.122
Karsten Hopp f9ba96
Problem:    Having auto/config.mk in the repository causes problems.
Karsten Hopp f9ba96
Solution:   Remove auto/config.mk from the distribution.  In the toplevel
Karsten Hopp f9ba96
	    Makefile copy it from the "dist" file.
Karsten Hopp f9ba96
Files:	    Makefile, src/Makefile, src/auto/config.mk
Karsten Hopp f9ba96
Karsten Hopp f9ba96
Karsten Hopp f9ba96
*** ../vim-7.3.121/Makefile	2010-08-15 21:57:20.000000000 +0200
Karsten Hopp f9ba96
--- Makefile	2011-02-12 14:28:09.000000000 +0100
Karsten Hopp f9ba96
***************
Karsten Hopp f9ba96
*** 23,28 ****
Karsten Hopp f9ba96
--- 23,31 ----
Karsten Hopp f9ba96
  # has run can result in compiling with $(CC) empty.
Karsten Hopp f9ba96
  
Karsten Hopp f9ba96
  first:
Karsten Hopp f9ba96
+ 	@if test ! -f src/auto/config.mk; then \
Karsten Hopp f9ba96
+ 		cp src/config.mk.dist src/auto/config.mk; \
Karsten Hopp f9ba96
+ 	fi
Karsten Hopp f9ba96
  	@echo "Starting make in the src directory."
Karsten Hopp f9ba96
  	@echo "If there are problems, cd to the src directory and run make there"
Karsten Hopp f9ba96
  	cd src && $(MAKE) $@
Karsten Hopp f9ba96
***************
Karsten Hopp f9ba96
*** 30,35 ****
Karsten Hopp f9ba96
--- 33,41 ----
Karsten Hopp f9ba96
  # Some make programs use the last target for the $@ default; put the other
Karsten Hopp f9ba96
  # targets separately to always let $@ expand to "first" by default.
Karsten Hopp f9ba96
  all install uninstall tools config configure reconfig proto depend lint tags types test testclean clean distclean:
Karsten Hopp f9ba96
+ 	@if test ! -f src/auto/config.mk; then \
Karsten Hopp f9ba96
+ 		cp src/config.mk.dist src/auto/config.mk; \
Karsten Hopp f9ba96
+ 	fi
Karsten Hopp f9ba96
  	@echo "Starting make in the src directory."
Karsten Hopp f9ba96
  	@echo "If there are problems, cd to the src directory and run make there"
Karsten Hopp f9ba96
  	cd src && $(MAKE) $@
Karsten Hopp f9ba96
*** ../vim-7.3.121/src/Makefile	2010-11-03 22:32:18.000000000 +0100
Karsten Hopp f9ba96
--- src/Makefile	2011-02-15 15:21:37.000000000 +0100
Karsten Hopp f9ba96
***************
Karsten Hopp f9ba96
*** 283,294 ****
Karsten Hopp f9ba96
  
Karsten Hopp f9ba96
  ######################## auto/config.mk ######################## {{{1
Karsten Hopp f9ba96
  # At this position auto/config.mk is included. When starting from the
Karsten Hopp f9ba96
! # distribution it is almost empty. After running auto/configure it contains
Karsten Hopp f9ba96
! # settings that have been discovered for your system. Settings below this
Karsten Hopp f9ba96
! # include override settings in auto/config.mk!
Karsten Hopp f9ba96
! 
Karsten Hopp f9ba96
! # Note: if auto/config.mk is lost somehow (e.g., because configure was
Karsten Hopp f9ba96
! # interrupted), create an empty auto/config.mk file and do "make config".
Karsten Hopp f9ba96
  
Karsten Hopp f9ba96
  # (X) How to include auto/config.mk depends on the version of "make" you have,
Karsten Hopp f9ba96
  #     if the current choice doesn't work, try the other one.
Karsten Hopp f9ba96
--- 283,295 ----
Karsten Hopp f9ba96
  
Karsten Hopp f9ba96
  ######################## auto/config.mk ######################## {{{1
Karsten Hopp f9ba96
  # At this position auto/config.mk is included. When starting from the
Karsten Hopp f9ba96
! # toplevel Makefile it is almost empty. After running auto/configure it
Karsten Hopp f9ba96
! # contains settings that have been discovered for your system. Settings below
Karsten Hopp f9ba96
! # this include override settings in auto/config.mk!
Karsten Hopp f9ba96
! 
Karsten Hopp f9ba96
! # Note: If make fails because auto/config.mk does not exist (it is not
Karsten Hopp f9ba96
! # included in the repository), do:
Karsten Hopp f9ba96
! #    cp config.mk.dist auto/config.mk
Karsten Hopp f9ba96
  
Karsten Hopp f9ba96
  # (X) How to include auto/config.mk depends on the version of "make" you have,
Karsten Hopp f9ba96
  #     if the current choice doesn't work, try the other one.
Karsten Hopp f9ba96
*** ../vim-7.3.121/src/auto/config.mk	2010-08-16 21:59:00.000000000 +0200
Karsten Hopp f9ba96
--- src/auto/config.mk	1970-01-01 01:00:00.000000000 +0100
Karsten Hopp f9ba96
***************
Karsten Hopp f9ba96
*** 1,5 ****
Karsten Hopp f9ba96
- the first targets to make vim are: scratch config myself
Karsten Hopp f9ba96
- srcdir = .
Karsten Hopp f9ba96
- VIMNAME = vim
Karsten Hopp f9ba96
- EXNAME = ex
Karsten Hopp f9ba96
- VIEWNAME = view
Karsten Hopp f9ba96
--- 0 ----
Karsten Hopp f9ba96
*** ../vim-7.3.121/src/version.c	2011-02-15 14:24:42.000000000 +0100
Karsten Hopp f9ba96
--- src/version.c	2011-02-15 15:25:07.000000000 +0100
Karsten Hopp f9ba96
***************
Karsten Hopp f9ba96
*** 716,717 ****
Karsten Hopp f9ba96
--- 716,719 ----
Karsten Hopp f9ba96
  {   /* Add new patch number below this line */
Karsten Hopp f9ba96
+ /**/
Karsten Hopp f9ba96
+     122,
Karsten Hopp f9ba96
  /**/
Karsten Hopp f9ba96
Karsten Hopp f9ba96
-- 
Karsten Hopp f9ba96
hundred-and-one symptoms of being an internet addict:
Karsten Hopp f9ba96
267. You get an extra phone line so you can get phone calls.
Karsten Hopp f9ba96
Karsten Hopp f9ba96
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f9ba96
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f9ba96
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f9ba96
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///