mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't generate configure.bat, just use it.
This commit is contained in:
parent
68f8b83d63
commit
d197a09c74
@ -1,3 +1,9 @@
|
|||||||
|
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* Makefile.in: Instead of creating configure.bat from
|
||||||
|
configure.bat.in, simply make sure the correct EOL style in
|
||||||
|
checked out of the repository.
|
||||||
|
|
||||||
2005-06-24 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-06-24 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* configure.in: Move the large file check further up. Only check
|
* configure.in: Move the large file check further up. Only check
|
||||||
|
10
Makefile.in
10
Makefile.in
@ -107,17 +107,11 @@ install.info uninstall.info install.man uninstall.man install.wgetrc:
|
|||||||
install.mo:
|
install.mo:
|
||||||
cd po && $(MAKE) $(MAKEDEFS) $@
|
cd po && $(MAKE) $(MAKEDEFS) $@
|
||||||
|
|
||||||
# Create configure.bat from configure.bat.in by DOS-ifying the lines.
|
|
||||||
# This is invoked by `make dist' and deleted by `make realclean' (not
|
|
||||||
# `make distclean' because we want to preserve it for distribution).
|
|
||||||
configure.bat: $(srcdir)/configure.bat.in
|
|
||||||
awk '{ print $$0 ($$0 ~ /\r$$/ ? "" : "\r") }' $< > $@
|
|
||||||
|
|
||||||
# create tag files for Emacs
|
# create tag files for Emacs
|
||||||
TAGS:
|
TAGS:
|
||||||
cd src && $(MAKE) $@
|
cd src && $(MAKE) $@
|
||||||
|
|
||||||
dist: $(srcdir)/configure $(srcdir)/configure.bat DISTFILES
|
dist: $(srcdir)/configure DISTFILES
|
||||||
mkdir $(DISTNAME)
|
mkdir $(DISTNAME)
|
||||||
for d in `$(FIND) . -type d ! -name CVS -a ! -name RCS -print`; do \
|
for d in `$(FIND) . -type d ! -name CVS -a ! -name RCS -print`; do \
|
||||||
if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
|
if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
|
||||||
@ -159,7 +153,7 @@ distclean-top: clean-top
|
|||||||
$(RM) -r autom4te.cache
|
$(RM) -r autom4te.cache
|
||||||
|
|
||||||
realclean-top: distclean-top
|
realclean-top: distclean-top
|
||||||
$(RM) configure configure.bat
|
$(RM) configure
|
||||||
|
|
||||||
clean-recursive distclean-recursive realclean-recursive:
|
clean-recursive distclean-recursive realclean-recursive:
|
||||||
for subdir in $(SUBDIRS); do \
|
for subdir in $(SUBDIRS); do \
|
||||||
|
@ -1,65 +1,65 @@
|
|||||||
@echo off
|
@echo off
|
||||||
rem Configure batch file for `Wget' utility
|
rem Configure batch file for `Wget' utility
|
||||||
rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
|
|
||||||
rem This program is free software; you can redistribute it and/or modify
|
rem This program is free software; you can redistribute it and/or modify
|
||||||
rem it under the terms of the GNU General Public License as published by
|
rem it under the terms of the GNU General Public License as published by
|
||||||
rem the Free Software Foundation; either version 2 of the License, or
|
rem the Free Software Foundation; either version 2 of the License, or
|
||||||
rem (at your option) any later version.
|
rem (at your option) any later version.
|
||||||
|
|
||||||
rem This program is distributed in the hope that it will be useful,
|
rem This program is distributed in the hope that it will be useful,
|
||||||
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
|
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
rem GNU General Public License for more details.
|
rem GNU General Public License for more details.
|
||||||
|
|
||||||
rem You should have received a copy of the GNU General Public License
|
rem You should have received a copy of the GNU General Public License
|
||||||
rem along with this program; if not, write to the Free Software
|
rem along with this program; if not, write to the Free Software
|
||||||
rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
rem In addition, as a special exception, the Free Software Foundation
|
rem In addition, as a special exception, the Free Software Foundation
|
||||||
rem gives permission to link the code of its release of Wget with the
|
rem gives permission to link the code of its release of Wget with the
|
||||||
rem OpenSSL project's "OpenSSL" library (or with modified versions of it
|
rem OpenSSL project's "OpenSSL" library (or with modified versions of it
|
||||||
rem that use the same license as the "OpenSSL" library), and distribute
|
rem that use the same license as the "OpenSSL" library), and distribute
|
||||||
rem the linked executables. You must obey the GNU General Public License
|
rem the linked executables. You must obey the GNU General Public License
|
||||||
rem in all respects for all of the code used other than "OpenSSL". If you
|
rem in all respects for all of the code used other than "OpenSSL". If you
|
||||||
rem modify this file, you may extend this exception to your version of the
|
rem modify this file, you may extend this exception to your version of the
|
||||||
rem file, but you are not obligated to do so. If you do not wish to do
|
rem file, but you are not obligated to do so. If you do not wish to do
|
||||||
rem so, delete this exception statement from your version.
|
rem so, delete this exception statement from your version.
|
||||||
|
|
||||||
if .%1 == .--borland goto :borland
|
if .%1 == .--borland goto :borland
|
||||||
if .%1 == .--mingw goto :mingw
|
if .%1 == .--mingw goto :mingw
|
||||||
if .%1 == .--msvc goto :msvc
|
if .%1 == .--msvc goto :msvc
|
||||||
goto :usage
|
goto :usage
|
||||||
|
|
||||||
:msvc
|
:msvc
|
||||||
copy windows\config.h.ms src\config.h > nul
|
copy windows\config.h.ms src\config.h > nul
|
||||||
copy windows\Makefile.top Makefile > nul
|
copy windows\Makefile.top Makefile > nul
|
||||||
copy windows\Makefile.src src\Makefile > nul
|
copy windows\Makefile.src src\Makefile > nul
|
||||||
copy windows\Makefile.doc doc\Makefile > nul
|
copy windows\Makefile.doc doc\Makefile > nul
|
||||||
|
|
||||||
echo Type NMAKE to start compiling.
|
echo Type NMAKE to start compiling.
|
||||||
echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
|
echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
|
||||||
echo and then NMAKE.
|
echo and then NMAKE.
|
||||||
goto :end
|
goto :end
|
||||||
|
|
||||||
:borland
|
:borland
|
||||||
copy windows\config.h.bor src\config.h > nul
|
copy windows\config.h.bor src\config.h > nul
|
||||||
copy windows\Makefile.top.bor Makefile > nul
|
copy windows\Makefile.top.bor Makefile > nul
|
||||||
copy windows\Makefile.src.bor src\Makefile > nul
|
copy windows\Makefile.src.bor src\Makefile > nul
|
||||||
copy windows\Makefile.doc doc\Makefile > nul
|
copy windows\Makefile.doc doc\Makefile > nul
|
||||||
|
|
||||||
echo Type MAKE to start compiling.
|
echo Type MAKE to start compiling.
|
||||||
goto :end
|
goto :end
|
||||||
|
|
||||||
:mingw
|
:mingw
|
||||||
copy windows\config.h.mingw src\config.h > nul
|
copy windows\config.h.mingw src\config.h > nul
|
||||||
copy windows\Makefile.top.mingw Makefile > nul
|
copy windows\Makefile.top.mingw Makefile > nul
|
||||||
copy windows\Makefile.src.mingw src\Makefile > nul
|
copy windows\Makefile.src.mingw src\Makefile > nul
|
||||||
copy windows\Makefile.doc doc\Makefile > nul
|
copy windows\Makefile.doc doc\Makefile > nul
|
||||||
|
|
||||||
echo Type mingw32-make to start compiling.
|
echo Type mingw32-make to start compiling.
|
||||||
goto :end
|
goto :end
|
||||||
|
|
||||||
:usage
|
:usage
|
||||||
echo "Usage: configure [--borland | --mingw | --msvc]"
|
echo "Usage: configure [--borland | --mingw | --msvc]"
|
||||||
:end
|
:end
|
Loading…
Reference in New Issue
Block a user