]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1601 v7.4.1601
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 15:09:42 +0000 (16:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 15:09:42 +0000 (16:09 +0100)
Problem:    README files take a lot of space in the top directory.
Solution:   Move most of them to "READMEdir".

22 files changed:
Filelist
Makefile
READMEdir/README.txt.info [moved from README.txt.info with 100% similarity, mode: 0644]
READMEdir/README_ami.txt [moved from README_ami.txt with 100% similarity]
READMEdir/README_ami.txt.info [moved from README_ami.txt.info with 100% similarity, mode: 0644]
READMEdir/README_amibin.txt [moved from README_amibin.txt with 100% similarity]
READMEdir/README_amibin.txt.info [moved from README_amibin.txt.info with 100% similarity, mode: 0644]
READMEdir/README_amisrc.txt [moved from README_amisrc.txt with 100% similarity]
READMEdir/README_amisrc.txt.info [moved from README_amisrc.txt.info with 100% similarity, mode: 0644]
READMEdir/README_bindos.txt [moved from README_bindos.txt with 100% similarity]
READMEdir/README_dos.txt [moved from README_dos.txt with 100% similarity]
READMEdir/README_extra.txt [moved from README_extra.txt with 100% similarity]
READMEdir/README_mac.txt [moved from README_mac.txt with 100% similarity]
READMEdir/README_ole.txt [moved from README_ole.txt with 100% similarity]
READMEdir/README_os2.txt [moved from README_os2.txt with 100% similarity]
READMEdir/README_os390.txt [moved from README_os390.txt with 100% similarity]
READMEdir/README_src.txt [moved from README_src.txt with 100% similarity]
READMEdir/README_srcdos.txt [moved from README_srcdos.txt with 100% similarity]
READMEdir/README_unix.txt [moved from README_unix.txt with 100% similarity]
READMEdir/README_vms.txt [moved from README_vms.txt with 100% similarity]
READMEdir/README_w32s.txt [moved from README_w32s.txt with 100% similarity]
src/version.c

index d74e586bf056b78ae348ddbdd8e4e7ca3f4d7eaa..5eab8b49a6b35790ea66ee1c4501029a1b8492ff 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -692,6 +692,28 @@ EXTRA =            \
                src/tee/Make_mvc.mak \
                src/tee/tee.c \
 
+# files in READMEdir that are included from the top dir
+IN_README_DIR = \
+               README.txt.info \
+               README_ami.txt \
+               README_ami.txt.info \
+               README_amibin.txt \
+               README_amibin.txt.info \
+               README_amisrc.txt \
+               README_amisrc.txt.info \
+               README_bindos.txt \
+               README_dos.txt \
+               README_extra.txt \
+               README_mac.txt \
+               README_ole.txt \
+               README_os2.txt \
+               README_os390.txt \
+               README_src.txt \
+               README_srcdos.txt \
+               README_unix.txt \
+               README_vms.txt \
+               README_w32s.txt \
+
 # generic language files
 LANG_GEN = \
                runtime/doc/*-de.1 \
index 8e54a32bdf1e3482fe9fff79a16673ff2b906d7c..2c7e5a285e54631524e1bd9fd4df5cd36e5213d1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -213,24 +213,13 @@ MINOR = 4
 #   > bigvim64.bat
 #
 #
-# OBSOLETE systems: You can build this if you have an appropriate system.
+# OBSOLETE systems: You can build these if you have an appropriate system.
 #
-# 16 bit DOS version: (doesn't build anywhere)
-# - Set environment for compiling with Borland C++ 3.1.
-# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
-#   case set environment for compiling with Borland C++ 4.0 and do
-#   "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
-#   NOTE: this currently fails because Vim is too big.
-# - "make test" and check the output.
-# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
-#   "uninstald16.exe".
+# 16 bit DOS version: You need to get a very old version of Vim, for several
+# years even the tiny build is too big to fit in DOS memory.
 #
-# 32 bit DOS version: (requires Windows XP or earlier)
-# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
-# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
-#   "ALL DONE".
-# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
-#   "uninstald32.exe".
+# 32 bit DOS version: Support was removed in 7.4.1399.  When syncing to before
+# that it probably won't build.
 #
 # Win32s GUI version: (requires a very old compiler)
 # - Set environment for Visual C++ 4.1 (requires a new console window):
@@ -242,12 +231,9 @@ MINOR = 4
 # - Rename "uninstal.exe" to "uninstalw32.exe"
 # - The produced uninstalw32.exe and vimrun.exe are used.
 #
-# OS/2: (requires an OS/2 system)
-# - Unpack the Unix archive.
-# - "make -f Make_os2.mak".
-# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
-#   them to here.
-# - "make os2bin".
+# OS/2 support was removed in patch 7.4.1008.  If you want to give it a try
+# sync to before that and check the old version of this Makefile for
+# instructions.
 
 VIMVER = vim-$(MAJOR).$(MINOR)
 VERSION = $(MAJOR)$(MINOR)
@@ -269,9 +255,13 @@ dist:
        mkdir dist
 
 # Clean up some files to avoid they are included.
+# Copy README files to the top directory.
 prepare:
        if test -f runtime/doc/uganda.nsis.txt; then \
                rm runtime/doc/uganda.nsis.txt; fi
+       for name in $(IN_README_DIR); do \
+         cp READMEdir/"$$name" .; \
+         done
 
 # For the zip files we need to create a file with the comment line
 dist/comment:
@@ -336,6 +326,7 @@ unixall: dist prepare
                $(EXTRA) \
                $(LANG_SRC) \
                | (cd dist/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
 # Need to use a "distclean" config.mk file
 # Note: this file is not included in the repository to avoid problems, but it's
 # OK to put it in the archive.
@@ -372,6 +363,7 @@ amirt: dist prepare
                $(RT_NO_UNIX) \
                $(RT_AMI_DOS) \
                | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
        mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
        mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
        mv dist/Vim/$(VIMRTDIR)/runtime/* dist/Vim/$(VIMRTDIR)
@@ -392,6 +384,7 @@ amibin: dist prepare
                Vim \
                Xxd \
                | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
        mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
        mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
        cd dist && tar cf vim$(VERSION)bin.tar Vim Vim.info
@@ -410,6 +403,7 @@ amisrc: dist prepare
                $(SRC_AMI) \
                $(SRC_AMI_DOS) \
                | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
        mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
        mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
        cd dist && tar cf vim$(VERSION)src.tar Vim Vim.info
@@ -483,6 +477,7 @@ dosrt_files: dist prepare no_title.vim
                $(RT_DOS_BIN) \
                $(LANG_GEN_BIN) \
                | (cd dist/vim/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
        mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
        rmdir dist/vim/$(VIMRTDIR)/runtime
 # Add the message translations.  Trick: skip ja.mo and use ja.sjis.mo instead.
@@ -517,6 +512,7 @@ dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
        tar cf - \
                $(BIN_DOS) \
                | (cd dist/vim/$(VIMRTDIR); tar xf -)
+       -rm $(IN_README_DIR)
        cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
        cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
        cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from README.txt.info
rename to READMEdir/README.txt.info
similarity index 100%
rename from README_ami.txt
rename to READMEdir/README_ami.txt
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from README_ami.txt.info
rename to READMEdir/README_ami.txt.info
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from README_amibin.txt.info
rename to READMEdir/README_amibin.txt.info
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from README_amisrc.txt.info
rename to READMEdir/README_amisrc.txt.info
similarity index 100%
rename from README_dos.txt
rename to READMEdir/README_dos.txt
similarity index 100%
rename from README_extra.txt
rename to READMEdir/README_extra.txt
similarity index 100%
rename from README_mac.txt
rename to READMEdir/README_mac.txt
similarity index 100%
rename from README_ole.txt
rename to READMEdir/README_ole.txt
similarity index 100%
rename from README_os2.txt
rename to READMEdir/README_os2.txt
similarity index 100%
rename from README_os390.txt
rename to READMEdir/README_os390.txt
similarity index 100%
rename from README_src.txt
rename to READMEdir/README_src.txt
similarity index 100%
rename from README_unix.txt
rename to READMEdir/README_unix.txt
similarity index 100%
rename from README_vms.txt
rename to READMEdir/README_vms.txt
similarity index 100%
rename from README_w32s.txt
rename to READMEdir/README_w32s.txt
index d66ca9b2532079a0e475535ed6f15ff6924231cd..61b8ca92dbfea7c97ec729bcbc213c128a3db6af 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1601,
 /**/
     1600,
 /**/