From 48c29e99b3fc7c4967748513a3a9180539fa4509 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 14 Jan 2015 04:56:56 +0000 Subject: [PATCH] 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 --- mswin32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mswin32/Makefile b/mswin32/Makefile index a8e4ada31..a070dc4f4 100644 --- a/mswin32/Makefile +++ b/mswin32/Makefile @@ -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)/' \