[svn] Renamed configure.bat to configure.bat.in.

Added a rule to Makefile.in to construct configure.bat from configure.in
by copying the file and converting the line endings to MS-DOS format.
Submitted by Ian Abbott in <3C8E50BB.2967.518D2B@localhost>.
This commit is contained in:
abbotti 2002-03-13 11:47:27 -08:00
parent 1fa3b90235
commit afd2ed9f39
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2002-03-13 Ian Abbott <abbotti@mev.co.uk>
* configure.bat: Removed (renamed to configure.bat.ini).
* configure.bat.in: New (renamed from configure.bat).
* Makefile.in: Add rule to copy configure.bat.in to configure.bat,
converting line endings to MS-DOS format in the process.
2002-01-15 Hrvoje Niksic <hniksic@arsdigita.com>
* MACHINES: OS X entry by Jonathan Davis.

View File

@ -75,7 +75,7 @@ infodir='$(infodir)' mandir='$(mandir)' manext='$(manext)'
SUBDIRS = src doc po util windows
# default target
all: libtool src/config.h Makefile $(SUBDIRS)
all: libtool src/config.h Makefile configure.bat $(SUBDIRS)
check: all
@ -102,6 +102,10 @@ install.mo:
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
# Create configure.bat from configure.bat.in by DOS-ifying the lines.
configure.bat: configure.bat.in
awk '{ print $$0 ($$0 ~ /\r$$/ ? "" : "\r") }' $@.in > $@
# create tag files for Emacs
TAGS:
cd src && $(MAKE) $@