mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 05:39:01 +00:00
Make sure Nmap.nsi gets regenerated when necessary and safely
This commit is contained in:
@@ -59,7 +59,8 @@ nmap.rc: nmap.rc.in ../nmap.h
|
||||
-e 's/@@COMMAVERSION@@/$(COMMA_VERSION)/' \
|
||||
"$<" > "$@"
|
||||
|
||||
nsis/Nmap.nsi: nsis/Nmap.nsi.in
|
||||
nsis/Nmap.nsi: nsis/Nmap.nsi.in ../nmap.h
|
||||
test -n "$(NPCAP_VERSION)" # Make sure NPcap is present
|
||||
sed -e '1i; Automatically generated from $<.' \
|
||||
-e 's/@@VIPRODUCTVERSION@@/"$(NMAP_NUM_VERSION)"/' \
|
||||
-e 's/@@VERSION@@/"$(NMAP_VERSION)"/' \
|
||||
|
||||
Reference in New Issue
Block a user