Fix dist. Remove unused files.

Change-Id: I44b2dbfa3859841c67e933d8e7c510834b7cc2ee
Reviewed-on: https://code.wireshark.org/review/3967
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2014-09-02 22:36:03 -07:00
parent cf3218df81
commit 6b5669d545
4 changed files with 3 additions and 151 deletions

View File

@ -8,12 +8,9 @@ EXTRA_DIST = \
Makefile.nmake \
macosx/Info.plist.in \
ws-manifest.pl \
portableapps/win32/Installer.nsi \
portableapps/win32/WiresharkPortable.tmpl \
portableapps/win32/WiresharkPortable.nsi \
portableapps/win32/appinfo.tmpl \
portableapps/win32/installer.ini \
portableapps/win32/help.html \
portableapps/win32/Makefile.nmake \
portableapps/win32/makenmake.pl \
portableapps/win32/readme.txt
portableapps/win32/readme.txt \
portableapps/win32/WiresharkPortable.ini

View File

@ -71,17 +71,6 @@ dirs:
if not exist $(OTHER) $(MKDIR) $(OTHER)
if not exist $(SOURCE) $(MKDIR) $(SOURCE)
#nsis-bits:
# cd ../../nsis
# $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake user-guide.chm
# cd ../portableapps/win32
#distribution.nmake: makenmake.pl $(WSMANIFEST) ../../ws-manifest.pl
# $(PERL) makenmake.pl $(WSMANIFEST) > $@
#distribution: distribution.nmake
# nmake -f distribution.nmake
#pack: distribution
#!IFDEF UPX
# -$(UPX) $(UPX_FLAGS) $(FILES)\$(APP)\$(WIRESHARK)\[a-z]*.exe
@ -129,11 +118,6 @@ appbinaries: applauncher
xcopy $(TOPDIR)\tfshark.exe $(WIRESHARK_DIR) /d
xcopy $(TOPDIR)\tshark.exe $(WIRESHARK_DIR) /d
#WiresharkPortable.ini: WiresharkPortable.tmpl $(TOPDIR)\config.nmake
# sed -e 's/$$(WINPCAP_VERSION)/$(WINPCAP_VERSION)/g' \
# -e 's/$$(TARGET_MACHINE)/$(TARGET_MACHINE)/g' \
# < WiresharkPortable.tmpl > WiresharkPortable.ini
source: dirs
$(COPY) readme.txt $(SOURCE) $(COPY_FLAGS)
$(TEXTIFY) -Destination $(SOURCE) \

View File

@ -1,16 +0,0 @@
#
# WirersharkPortable.ini - settings for configure the running of WiresharkPortable
#
[WiresharkPortable]
WiresharkDirectory=App/Wireshark
WiresharkExecutable=wireshark.exe
AdditionalParameters=
DisableWinPcapInstall=false
WinPcapInstaller=WinPcap_$(WINPCAP_VERSION).exe
MSVCRedist=vcredist_$(TARGET_MACHINE).exe
# This INI is an example only and will not work until placed according to the directions in readme.txt
# The above options are explained in the included readme.txt

View File

@ -1,113 +0,0 @@
#
# makenmake.pl - create a nmake file from a generic manifest file that will create the appropriate PortableApp structure
print q{
#
# DO NOT EDIT - autogenerated from makenmake.pl and ../../wireshark.manifest
#
include ../../../config.nmake
include <win32.mak>
FILES = Files
APP = App
WIRESHARK = Wireshark
TOPDIR = ..\..\..
STAGING_DIR = $(TOPDIR)\$(INSTALL_DIR)
COPY = xcopy
MOVE = mv
MKDIR = mkdir
COPY_FLAGS = /d /y
PROGRAM_NAME_PATH_GTK = $(PROGRAM_NAME).exe
# XXX This should be defined in config.nmake.
!IF EXIST("$(TOPDIR)\wireshark-qt-release\qtshark.exe")
QT_DIR= "$(TOPDIR)\wireshark-qt-release"
PROGRAM_NAME_PATH_QT = "qtshark.exe"
!ENDIF
!IF EXIST("$(TOPDIR)\wireshark-qt-release\Qt5Core.dll")
NEED_QT5_DLL= USE
!ENDIF
!IF EXIST("$(TOPDIR)\wireshark-qt-release\QtCore4.dll")
NEED_QT4_DLL= USE
!ENDIF
distribution:
};
while($line = <>) {
if($line =~ /^\#/) { # comment
next;
} elsif($line =~ /^\[(\S+)/) { # new directory
if(defined $define) { # Clear out any leftover defines.
print "!ENDIF\n";
undef($define);
}
$dir = $1;
$dir =~ s/\$INSTDIR?//; # remove $INSTDIR
$dir =~ s/\{/\(/g; $dir =~ s/\}/\)/g; # convert curlies to round brackets
if($dir ne '') {
print " if not exist \$(FILES)\\\$(APP)\\\$(WIRESHARK)$dir \$(MKDIR) \$(FILES)\\\$(APP)\\\$(WIRESHARK)$dir\n";
}
} else { # this is a file
$line =~ /^\s+(\S+)/;
$file = $1;
$file =~ s/\{/\(/g; $file =~ s/\}/\)/g; # convert curlies to round brackets
if($file =~ /^[^\$]/) {
$file = "\$(TOPDIR)\\" . $file;
}
if($line =~ /ifdef=(\w+)/) { # dependency
if($define ne $1) {
if(defined $define) {
print "!ENDIF\n";
}
$define = $1;
print "!IF DEFINED($define)\n";
}
} else {
if(defined $define) {
print "!ENDIF\n";
}
undef $define;
}
$oname = "";
print " \$(COPY) \"$file\" \"\$(FILES)\\\$(APP)\\\$(WIRESHARK)$dir\" \$(COPY_FLAGS)\n";
if($line =~ /oname=(\S+)/) { # override this filename
$oname = $1;
$file =~ /\\(.*)$/;
$name = $1;
print " \$(MOVE) \"\$(FILES)\\\$(APP)\\\$(WIRESHARK)\\$dir\\$name\" \"\$(FILES)\\\$(APP)\\\$(WIRESHARK)\\$dir\\$oname\"\n";
}
}
}
#
# Editor modelines
#
# Local Variables:
# c-basic-offset: 4
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# ex: set shiftwidth=4 tabstop=8 expandtab:
# :indentSize=4:tabSize=8:noTabs=true:
#