mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Use @BASE to export build directories, not @HEAD, so I can build from a
specific revision if I have to. Don't rebuild the script database. There are new makefile targets to handle this and we decided that if it's broken it's better for it to be broken on the Mac too.
This commit is contained in:
parent
c951c9d0c1
commit
ac60e4b431
1 changed files with 6 additions and 7 deletions
|
|
@ -55,19 +55,18 @@ $(IMAGE_STAGING_DIR)/$(PKG_NAME): stage-nmap stage-ncat stage-ndiff stage-zenmap
|
|||
|
||||
export-%:
|
||||
rm -rf $*
|
||||
# Using @HEAD discards local changes.
|
||||
svn export ..@HEAD $*
|
||||
svn export ../nbase@HEAD $*/nbase
|
||||
svn export ../ncat@HEAD $*/ncat
|
||||
svn export ../nsock@HEAD $*/nsock
|
||||
svn export ../zenmap@HEAD $*/zenmap
|
||||
# Using @BASE discards local changes.
|
||||
svn export ..@BASE $*
|
||||
svn export ../nbase@BASE $*/nbase
|
||||
svn export ../ncat@BASE $*/ncat
|
||||
svn export ../nsock@BASE $*/nsock
|
||||
svn export ../zenmap@BASE $*/zenmap
|
||||
|
||||
stage-nmap: export-$(NMAP_BUILD_DIR)
|
||||
cd $(NMAP_BUILD_DIR) && ./configure --without-zenmap --without-ncat --without-ndiff $(CONFIGURE_ARGS)
|
||||
make -C $(NMAP_BUILD_DIR)
|
||||
rm -rf $(NMAP_STAGING_DIR)
|
||||
make -C $(NMAP_BUILD_DIR) install DESTDIR="`pwd`/$(NMAP_STAGING_DIR)"
|
||||
`pwd`/$(NMAP_STAGING_DIR)$(PREFIX)/bin/nmap --datadir `pwd`/$(NMAP_STAGING_DIR)$(PREFIX)/share/nmap --script-updatedb
|
||||
|
||||
stage-ncat: export-$(NCAT_BUILD_DIR)
|
||||
cd $(NCAT_BUILD_DIR) && ./configure --without-zenmap --with-ncat --without-ndiff $(CONFIGURE_ARGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue