mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Force nmap.rc to be rebuilt when nmap.h changes
The make rule for nmap.rc depended only on nmap.rc.in, which doesn't change regularly. Since the rule itself adds version info based on nmap.h, it makes sense to list this as one of its dependencies. Fixes #45
This commit is contained in:
parent
40ca4cb396
commit
48c29e99b3
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ winbuild: nmap.rc nsis/Nmap.nsi LICENSE
|
|||
$(MAKENSIS) nmap-$(NMAP_VERSION)/Nmap.nsi
|
||||
mv nmap-$(NMAP_VERSION)/NmapInstaller.exe nmap-$(NMAP_VERSION)-setup.exe
|
||||
|
||||
nmap.rc: nmap.rc.in
|
||||
nmap.rc: nmap.rc.in ../nmap.h
|
||||
sed -e '1i// Automatically generated from $<.' \
|
||||
-e 's/@@FILEVERSION@@/"$(NMAP_VERSION)\\0"/' \
|
||||
-e 's/@@COMMAVERSION@@/$(COMMA_VERSION)/' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue