1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00

Use dependencies to generate LICENSE.

This commit is contained in:
david
2012-10-31 17:25:39 +00:00
parent 43fc9c6182
commit d2a44acb91

View File

@@ -7,11 +7,9 @@ LOGLOC=c:nmapbuild.log
NSE_FILES = scripts/script.db scripts/*.nse
NMAP_MSWIN32_AUX = ../../nmap-mswin32-aux
winbuild: nmap.rc nsis/Nmap.nsi
winbuild: nmap.rc nsis/Nmap.nsi LICENSE
# VCExpress.exe is devenv.com with the commercial Visual Studio suite instead of VC++ Express
@./license-format/licformat.sh ../COPYING > LICENSE
# MSBUILDDISABLENODEREUSE prevents zombie msbuild.exe processes that
# break subsequent builds.
MSBUILDDISABLENODEREUSE=1 \
@@ -70,6 +68,9 @@ nsis/Nmap.nsi: nsis/Nmap.nsi.in
-e 's/@@VERSION@@/"$(NMAP_VERSION)"/' \
"$<" > "$@"
LICENSE: ../COPYING
./license-format/licformat.sh "$<" > "$@"
clean:
"$(VCEXPRESS)" nmap.sln /clean
rm -rf Debug Release nmapbuild.log nmap.rc nsis/Nmap.nsi