remove cleanbld.bat (use the distclean target instead)

svn path=/trunk/; revision=16355
This commit is contained in:
Ulf Lamping 2005-10-29 09:48:29 +00:00
parent d232c0c69a
commit 590537c968
3 changed files with 5 additions and 50 deletions

View File

@ -482,7 +482,6 @@ EXTRA_DIST = \
capture_wpcap_packet.c \
capture_wpcap_packet.h \
cfilters \
cleanbld.bat \
colorfilters \
config.h.win32 \
config.nmake \

View File

@ -329,8 +329,8 @@ command line, or you can invoke the vcvars32.bat script, which can
usually be found in the "VC98\Bin" subdirectory of the directory in
which Visual Studio was installed.
The first time you build Ethereal, run the script "cleanbld.bat" in the
top-level Ethereal source directory to make sure that the "config.h"
The first time you build Ethereal, run "nmake -f makefile.nmake distclean"
in the top-level Ethereal source directory to make sure that the "config.h"
files will be reconstructed from the "config.h.win32" files. (If, for
example, you have "config.h" files left over from a Unix build, a
Windows build will fail.)
@ -346,8 +346,9 @@ system. In most cases, the generated files can be used when building on
Windows, but the files listed below as being generated by Flex can be
used when building on Windows only when generated by a Windows version
of Flex, so you will need a Windows version of Flex to do a Windows
build. Those generated files are removed by the "cleanbld.bat" script,
to make sure that versions left over from a Unix build aren't used.
build. Those generated files are removed by
"nmake -f makefile.nmake distclean", to make sure that versions left over
from a Unix build aren't used.
If you are building from a modified version of an official distribution,
and you modified any of the source files listed below, you will need the

View File

@ -1,45 +0,0 @@
echo off
rem cleanbld.bat
rem Script to clean up from a build on another platform
rem
rem $Id$
rem
rem Ethereal - Network traffic analyzer
rem By Gerald Combs <gerald@ethereal.com>
rem Copyright 1998 Gerald Combs
rem
rem This program is free software; you can redistribute it and/or
rem modify it under the terms of the GNU General Public License
rem as published by the Free Software Foundation; either version 2
rem of the License, or (at your option) any later version.
rem
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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU General Public License for more details.
rem
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 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
rem
rem Remove the config.h files that are built from config.h.win32 files,
rem so that a build will reconstruct them; this should be run the first
rem time you do a Microsoft Visual C++ build, so that, for example, if
rem you've done a UNIX build, the build doesn't use the config.h files
rem from that build (using those config.h files will cause the build
rem to fail).
rem
rem Also remove all files generated by Flex, as the Flex on UN*X
rem generates code that includes <unistd.h>, which doesn't work on
rem Windows; you need to run a Windows version of Flex to generate
rem lexical analyzers.
rem
del/f config.h
del/f epan\config.h
del/f wiretap\config.h
del/f epan\radius_dict.c
del/f epan\dfilter\scanner.c
del/f plugins\mate\mate_parser.c
del/f plugins\xml\xml_lexer.c
del/f wiretap\ascend-scanner.c
del/f text2pcap-scanner.c