From Hamish Moffatt:

Add some missing files in the "clean" targets.

	Use pod2html rather than man2html to build HTML man pages.

	Fix ethereal.nsi.in for recent versions of NSIS, and fix a typo.

svn path=/trunk/; revision=4475
This commit is contained in:
Guy Harris 2002-01-04 06:57:10 +00:00
parent a2251afaff
commit 5027073407
6 changed files with 58 additions and 37 deletions

View File

@ -915,6 +915,9 @@ Pekka Nikander <pekka.nikander[AT]nomadiclab.com> {
Hamish Moffatt <hamish[AT]cloud.net.au> {
MPLS support for handling either IPv4 or IPv6 as the payload
protocol type
Win32 Makefile fixes
Use pod2html rather than man2html to build HTML man pages
Fix ethereal.nsi.in for recent versions of NSIS
}
Kazushi Sugyo <k-sugyou[AT]nwsl.mesh.ad.jp> {

View File

@ -1,7 +1,7 @@
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
# $Id: Makefile.nmake,v 1.160 2001/12/27 20:58:35 guy Exp $
# $Id: Makefile.nmake,v 1.161 2002/01/04 06:57:07 guy Exp $
include config.nmake
include <win32.mak>
@ -409,7 +409,8 @@ clean:
rm -f $(ethereal_OBJECTS) $(EXTRA_OBJECTS) $(EXECUTABLES) $(PDB_FILE) \
tethereal.obj editcap.obj mergecap.obj text2pcap.obj \
text2pcap-scanner.obj text2pcap-scanner.c register.c \
rdps.obj rdps.pdb config.h ps.c packet-ncp2222.c register.c
rdps.obj rdps.pdb config.h ps.c packet-ncp2222.c register.c \
rdps.exe rdps.ilk $(RESOURCES)
cd wiretap
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../gtk

View File

@ -1,4 +1,4 @@
# $Id: config.nmake,v 1.20 2001/12/23 21:11:23 gerald Exp $
# $Id: config.nmake,v 1.21 2002/01/04 06:57:07 guy Exp $
VERSION=0.9.0
RC_VERSION=0.9.0
@ -7,10 +7,10 @@ WTAP_VERSION=0.0
GTK_VERSION=1.3
GLIB_VERSION=1.3
GLIB_DIR=F:\gram\win32tools\src\glib
GTK_DIR=F:\gram\win32tools\src\gtk+
ZLIB_DIR=F:\gram\win32tools\src\zlib-1.1.3
PCAP_DIR=F:\gram\win32tools\WPdpack
GLIB_DIR=C:\ethereal-win32-libs\glib
GTK_DIR=C:\ethereal-win32-libs\gtk+
ZLIB_DIR=C:\ethereal-win32-libs\zlib-1.1.3
PCAP_DIR=C:\ethereal-win32-libs\WPdpack
LOCAL_CFLAGS=-Zi
LOCAL_LDFLAGS=/DEBUG
@ -19,11 +19,12 @@ LOCAL_LDFLAGS=/DEBUG
PDB_FILE=vc60.pdb
# Set path if you need to find some binary
#PATH=t:\w32-ix86\cygnus\cygwin-b20\H-i586-cygwin32\bin;$(PATH)
PATH=c:\cygnus\cygwin-b20\H-i586-cygwin32\bin;c:\python22;c:\ethereal-0.9.0\wiretap;c:\program files\gnu;$(PATH)
PERL=perl
POD2MAN=perl /usr/bin/pod2man
PYTHON="C:/python21/python.exe"
POD2MAN=pod2man
POD2HTML=pod2html
PYTHON="C:/python22/python.exe"
LEX=flex
YACC=bison

View File

@ -1,7 +1,7 @@
# Makefile.nmake
# Nmake file for Ethereal documentation
#
# $Id: Makefile.nmake,v 1.5 2001/07/30 21:40:13 guy Exp $
# $Id: Makefile.nmake,v 1.6 2002/01/04 06:57:08 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
@ -29,33 +29,18 @@ include ../config.nmake
doc: ethereal.html tethereal.html editcap.html idl2eth.html \
mergecap.html text2pcap.html
#
# XXX - can't we just use "pod2html" here?
#
ethereal.html : ethereal.1
man2html ethereal.1 > $@
tethereal.html : tethereal.1
man2html tethereal.1 > $@
editcap.html : editcap.1
man2html editcap.1 > $@
idl2eth.html : idl2eth.1
man2html idl2eth.1 > $@
mergecap.html : mergecap.1
man2html mergecap.1 > $@
text2pcap.html : text2pcap.1
man2html text2pcap.1 > $@
ethereal.1: ethereal.pod ../config.h
$(POD2MAN) ethereal.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> ethereal.1
ethereal.html: ethereal.pod ../config.h
$(POD2HTML) ethereal.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> ethereal.html
ethereal.pod: ethereal.pod.template ../tethereal.exe
..\\tethereal.exe -G | $(PERL) dfilter2pod.pl ethereal.pod.template > ethereal.pod
@ -65,6 +50,12 @@ tethereal.1: tethereal.pod ../config.h
--release=$(VERSION) \
> tethereal.1
tethereal.html: tethereal.pod ../config.h
$(POD2HTML) tethereal.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> tethereal.html
tethereal.pod: tethereal.pod.template ../tethereal.exe
..\\tethereal.exe -G | $(PERL) dfilter2pod.pl tethereal.pod.template > tethereal.pod
@ -74,24 +65,48 @@ editcap.1: editcap.pod ../config.h
--release=$(VERSION) \
> editcap.1
editcap.html: editcap.pod ../config.h
$(POD2HTML) editcap.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> editcap.html
mergecap.1: mergecap.pod ../config.h
$(POD2MAN) mergecap.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> mergecap.1
mergecap.html: mergecap.pod ../config.h
$(POD2HTML) mergecap.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> mergecap.html
idl2eth.1: idl2eth.pod ../config.h
$(POD2MAN) idl2eth.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> idl2eth.1
idl2eth.html: idl2eth.pod ../config.h
$(POD2HTML) idl2eth.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> idl2eth.html
text2pcap.1: text2pcap.pod ../config.h
$(POD2MAN) text2pcap.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> text2pcap.1
text2pcap.html: text2pcap.pod ../config.h
$(POD2HTML) text2pcap.pod \
--title="The Ethereal Network Analyzer $(VERSION)" \
--noindex \
> text2pcap.html
clean:
rm -f ethereal.html ethereal.1 ethereal.pod
rm -f tethereal.html tethereal.1 tethereal.pod
@ -99,3 +114,4 @@ clean:
rm -f idl2eth.html idl2eth.1
rm -f mergecap.html mergecap.1
rm -f text2pcap.html text2pcap.1
rm -f pod2htm*

View File

@ -1,7 +1,7 @@
;
; ethereal.nsi
;
; $Id: ethereal.nsi.in,v 1.11 2001/12/19 19:16:12 guy Exp $
; $Id: ethereal.nsi.in,v 1.12 2002/01/04 06:57:09 guy Exp $
; ============================================================================
; Header configuration
@ -16,8 +16,7 @@ OutFile "ethereal-setup.exe"
Icon "..\..\image\ethereal.ico"
; Uninstall stuff
UninstallText "This will uninstall Etheral. Hit 'Next' to continue."
UninstallExeName "uninstall.exe"
UninstallText "This will uninstall Ethereal. Hit 'Next' to continue."
; ============================================================================
; License page configuration
@ -73,6 +72,7 @@ File "..\..\sunping.xml"
; Write the uninstall keys for Windows
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "DisplayName" "Ethereal"
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteUninstaller "uninstall.exe"
SectionEnd
Section "Ethereal"
@ -165,5 +165,5 @@ RMDir "$SMPROGRAMS\Ethereal"
RMDir "$INSTDIR\plugins\@VERSION@"
RMDir "$INSTDIR\plugins"
RMDir "$INSTDIR"
SectionEnd
SectionEnd

View File

@ -9,4 +9,4 @@ CFLAGS=$(LOCAL_CFLAGS)
all : lemon.exe
clean:
rm -f lemon.obj lemon.exe $(PDB_FILE) lemon.pdb
rm -f lemon.obj lemon.exe lemon.ilk $(PDB_FILE) lemon.pdb