patch 7.4.1601

Problem:    README files take a lot of space in the top directory.
Solution:   Move most of them to "READMEdir".
This commit is contained in:
Bram Moolenaar
2016-03-19 16:09:42 +01:00
parent 062cc1857d
commit 818c9e7edf
22 changed files with 42 additions and 22 deletions

View File

@ -692,6 +692,28 @@ EXTRA = \
src/tee/Make_mvc.mak \ src/tee/Make_mvc.mak \
src/tee/tee.c \ 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 # generic language files
LANG_GEN = \ LANG_GEN = \
runtime/doc/*-de.1 \ runtime/doc/*-de.1 \

View File

@ -213,24 +213,13 @@ MINOR = 4
# > bigvim64.bat # > 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) # 16 bit DOS version: You need to get a very old version of Vim, for several
# - Set environment for compiling with Borland C++ 3.1. # years even the tiny build is too big to fit in DOS memory.
# - "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".
# #
# 32 bit DOS version: (requires Windows XP or earlier) # 32 bit DOS version: Support was removed in 7.4.1399. When syncing to before
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak". # that it probably won't build.
# - "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".
# #
# Win32s GUI version: (requires a very old compiler) # Win32s GUI version: (requires a very old compiler)
# - Set environment for Visual C++ 4.1 (requires a new console window): # - Set environment for Visual C++ 4.1 (requires a new console window):
@ -242,12 +231,9 @@ MINOR = 4
# - Rename "uninstal.exe" to "uninstalw32.exe" # - Rename "uninstal.exe" to "uninstalw32.exe"
# - The produced uninstalw32.exe and vimrun.exe are used. # - The produced uninstalw32.exe and vimrun.exe are used.
# #
# OS/2: (requires an OS/2 system) # OS/2 support was removed in patch 7.4.1008. If you want to give it a try
# - Unpack the Unix archive. # sync to before that and check the old version of this Makefile for
# - "make -f Make_os2.mak". # instructions.
# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
# them to here.
# - "make os2bin".
VIMVER = vim-$(MAJOR).$(MINOR) VIMVER = vim-$(MAJOR).$(MINOR)
VERSION = $(MAJOR)$(MINOR) VERSION = $(MAJOR)$(MINOR)
@ -269,9 +255,13 @@ dist:
mkdir dist mkdir dist
# Clean up some files to avoid they are included. # Clean up some files to avoid they are included.
# Copy README files to the top directory.
prepare: prepare:
if test -f runtime/doc/uganda.nsis.txt; then \ if test -f runtime/doc/uganda.nsis.txt; then \
rm runtime/doc/uganda.nsis.txt; fi 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 # For the zip files we need to create a file with the comment line
dist/comment: dist/comment:
@ -336,6 +326,7 @@ unixall: dist prepare
$(EXTRA) \ $(EXTRA) \
$(LANG_SRC) \ $(LANG_SRC) \
| (cd dist/$(VIMRTDIR); tar xf -) | (cd dist/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
# Need to use a "distclean" config.mk file # Need to use a "distclean" config.mk file
# Note: this file is not included in the repository to avoid problems, but it's # Note: this file is not included in the repository to avoid problems, but it's
# OK to put it in the archive. # OK to put it in the archive.
@ -372,6 +363,7 @@ amirt: dist prepare
$(RT_NO_UNIX) \ $(RT_NO_UNIX) \
$(RT_AMI_DOS) \ $(RT_AMI_DOS) \
| (cd dist/Vim/$(VIMRTDIR); tar xf -) | (cd dist/Vim/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
mv dist/Vim/$(VIMRTDIR)/runtime/* dist/Vim/$(VIMRTDIR) mv dist/Vim/$(VIMRTDIR)/runtime/* dist/Vim/$(VIMRTDIR)
@ -392,6 +384,7 @@ amibin: dist prepare
Vim \ Vim \
Xxd \ Xxd \
| (cd dist/Vim/$(VIMRTDIR); tar xf -) | (cd dist/Vim/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
cd dist && tar cf vim$(VERSION)bin.tar Vim Vim.info cd dist && tar cf vim$(VERSION)bin.tar Vim Vim.info
@ -410,6 +403,7 @@ amisrc: dist prepare
$(SRC_AMI) \ $(SRC_AMI) \
$(SRC_AMI_DOS) \ $(SRC_AMI_DOS) \
| (cd dist/Vim/$(VIMRTDIR); tar xf -) | (cd dist/Vim/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
cd dist && tar cf vim$(VERSION)src.tar Vim Vim.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) \ $(RT_DOS_BIN) \
$(LANG_GEN_BIN) \ $(LANG_GEN_BIN) \
| (cd dist/vim/$(VIMRTDIR); tar xf -) | (cd dist/vim/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR) mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
rmdir dist/vim/$(VIMRTDIR)/runtime rmdir dist/vim/$(VIMRTDIR)/runtime
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead. # 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 - \ tar cf - \
$(BIN_DOS) \ $(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -) | (cd dist/vim/$(VIMRTDIR); tar xf -)
-rm $(IN_README_DIR)
cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe

0
README.txt.info → READMEdir/README.txt.info Executable file → Normal file
View File

0
README_ami.txt.info → READMEdir/README_ami.txt.info Executable file → Normal file
View File

View File

View File

View File

@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1601,
/**/ /**/
1600, 1600,
/**/ /**/