Nmap Development mailing list archives

Re: make install error - nselib/data/psexec


From: Corey Chandler <lists () sequestered net>
Date: Fri, 13 Nov 2009 10:44:18 -0800

Ron wrote:
David Fifield wrote:
I made a mistake in the above commands. That still try to install
directories, but it happens to work because the for loop isolates the
error from make. This is better:

        $(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib/data
        $(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib/data/psexec
        for f in `find nselib/data -name .svn -prune -o -type f -print`; do \
                $(INSTALL) -c -m 644 $$f $(DESTDIR)$(nmapdatadir)/$$f; \
        done

David Fifield


Well, another solution is to get rid of the 'psexec' folder in the data
directory and put all its files in 'data', but they're pretty specific
so it probably doesn't make sense.

I'll go with whatever solution you think is best. I'm not really a
Makefile expert, so I'll trust your capable hands.

Ron


Yeah, this also blows up on MacOS.

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


Current thread: