mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Make sure Nmap.nsi gets regenerated when necessary and safely
This commit is contained in:
parent
5806603494
commit
99efa84d86
1 changed files with 2 additions and 1 deletions
|
|
@ -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)"/' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue