Changed how win32 makefile is created.

git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@95 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
darren 2002-02-16 05:38:18 +00:00
parent 360deb6824
commit 31b4c384da
3 changed files with 3 additions and 5 deletions

View File

@ -272,10 +272,7 @@ dos1-%: $(DOS_FILES)
for file in $^ ;do \
unix2dos < $${file} > $(CTAGS_DOSDIR)/ctags$*/$${file} ;\
done
cd $(CTAGS_DOSDIR); mv makefile makefile.bak; \
sed -e 's/^\(VERSION = \).*$$/\1$*
/' makefile.bak > makefile ;\
rm makefile.bak
cd $(CTAGS_DOSDIR); sed -e "s/@@DOS_VERSION@@/$*/" makefile.in > makefile
dos2-%: $(DOS_VER_FILES)
for file in $^ ;do \

View File

@ -1,3 +1,4 @@
makefile
ctagsw32.exe
ctagsos2.exe
ctags[1-9]*

View File

@ -1,7 +1,7 @@
# $Id$
# Makefile for building Win32 releases
VERSION = 521
VERSION = @@DOS_VERSION@@
# Borland C library directory
ZIP = "c:\Program Files\WinZip\wzzip"