Nmap Development mailing list archives

Re: [BUG] ndiff install doesn't respect DESTDIR, unlike all other components


From: David Fifield <david () bamsoftware com>
Date: Tue, 25 Sep 2012 19:44:22 -0700

On Wed, Sep 26, 2012 at 04:14:35AM +0200, John Spencer wrote:
everything gets properly installed into DESTDIR/prefix,

except of ndiff
which installs into prefix directly

Can you send us an install log? I cannot reproduce this. The targets for
installation of both Python programs seem to be doing the right thing:

install-zenmap: $(ZENMAPDIR)/setup.py
        cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root 
"$(DESTDIR)")
install-ndiff:
        cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")

This also worked for me:
nmap$ make install DESTDIR=~/destdir
nmap$ ls ~/destdir/usr/local/bin
ncat  ndiff  nmap  nmapfe  nmap-update  nping  uninstall_zenmap  xnmap  zenmap

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: