From 6b5669d5459895f9bf6a92af22dee5a56cedf1ec Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 2 Sep 2014 22:36:03 -0700 Subject: Fix dist. Remove unused files. Change-Id: I44b2dbfa3859841c67e933d8e7c510834b7cc2ee Reviewed-on: https://code.wireshark.org/review/3967 Reviewed-by: Gerald Combs --- packaging/Makefile.am | 9 +- packaging/portableapps/win32/Makefile.nmake | 16 --- .../portableapps/win32/WiresharkPortable.tmpl | 16 --- packaging/portableapps/win32/makenmake.pl | 113 --------------------- 4 files changed, 3 insertions(+), 151 deletions(-) delete mode 100644 packaging/portableapps/win32/WiresharkPortable.tmpl delete mode 100755 packaging/portableapps/win32/makenmake.pl (limited to 'packaging') diff --git a/packaging/Makefile.am b/packaging/Makefile.am index bb066dd0ff..bcdd66e17d 100644 --- a/packaging/Makefile.am +++ b/packaging/Makefile.am @@ -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 diff --git a/packaging/portableapps/win32/Makefile.nmake b/packaging/portableapps/win32/Makefile.nmake index 311e44c997..29c8f9c9d7 100644 --- a/packaging/portableapps/win32/Makefile.nmake +++ b/packaging/portableapps/win32/Makefile.nmake @@ -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) \ diff --git a/packaging/portableapps/win32/WiresharkPortable.tmpl b/packaging/portableapps/win32/WiresharkPortable.tmpl deleted file mode 100644 index 6e26dd1395..0000000000 --- a/packaging/portableapps/win32/WiresharkPortable.tmpl +++ /dev/null @@ -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 diff --git a/packaging/portableapps/win32/makenmake.pl b/packaging/portableapps/win32/makenmake.pl deleted file mode 100755 index 47dc8a5e2c..0000000000 --- a/packaging/portableapps/win32/makenmake.pl +++ /dev/null @@ -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 - -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: -# -- cgit v1.2.3