aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-08-07 17:30:45 -0700
committerGraham Bloice <graham.bloice@trihedral.com>2014-08-14 10:26:31 +0000
commit673247f04f3b8c1534cb49a850a1f0bbd71c02e0 (patch)
treec711e9e2cf1343d9c5278dba15db74a68213e89c /config.nmake
parentd68d0e88b4924a610b5cd2fd3a748b00c9bbab1a (diff)
Windows: Clean up text file packaging.
Convert textify.sh to PowerShell. Use PowerShell's built-in line ending conversion so that we don't depend on unix2dos. Only copy the help toc and text files to the staging directory. Add PowerShell to the Developer's Guide. Fixup some other content. (asn1/Makefile.inc.nmake contains a call to u2d. Hopefully that's not a problem.) Change-Id: I61a92aa54820d01015abb9ffa65815558ae31c71 Reviewed-on: https://code.wireshark.org/review/3487 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com> Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.nmake b/config.nmake
index d8734f8355..9b0984983f 100644
--- a/config.nmake
+++ b/config.nmake
@@ -792,6 +792,8 @@ SH_FLAGS=-o igncr
SH=$(SH_PROG) $(SH_FLAGS)
+# PowerShell
+POWERSHELL=powershell -executionpolicy bypass -File
# command for perl (cygwin's perl package recommended)
PERL=perl
@@ -836,9 +838,8 @@ YACC=bison
!ENDIF
!ENDIF
-# Commands to convert UNIX line endings to DOS/Windows
-UNIX2DOS=u2d
-TEXTIFY=$(SH) $(TOOLS_DIR)/textify.sh
+# Make our text files Windows-native
+TEXTIFY=$(POWERSHELL) $(TOOLS_DIR)/textify.ps1
#
# Optional: Build the NSIS installer.