Nmap Development mailing list archives
[PATCH] Install Zenmap man page in 'make install'
From: Kris Katterjohn <katterjohn () gmail com>
Date: Wed, 23 Jan 2008 17:22:05 -0600
Hey everyone!I've attached a small patch which installs the Zenmap man page during 'make install'.
The following CHANGELOG entries suggest that it should have all ready been installing:
o Zenmap now has a man page! It isn't very long yet, but covers the basics. Thanks to David for writing this. o Don't install the orphaned and incomplete Zenmap HTML documentation. Instead point to the Nmap documentation site, which is provides more comprehensive and up-to-date Nmap docs. We're rapidly improving the online Zenmap docs as well. Of course the Nmap and (new!) Zenmap man pages are still installed on Unix. [Fyodor]But I didn't want to apply this patch because the man page /is/ installed during an RPM install, and that could be all that was meant in the entry. But that begs the question: why not install it during 'make install'?
Thanks, Kris Katterjohn
Index: Makefile.in =================================================================== --- Makefile.in (revision 6750) +++ Makefile.in (working copy) @@ -178,7 +178,7 @@ # Use strip -x to avoid stripping dynamically loaded NSE functions. See # http://seclists.org/nmap-dev/2007/q4/0272.html. $(STRIP) -x $(DESTDIR)$(bindir)/nmap - $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/ + $(INSTALL) -c -m 644 docs/$(TARGET).1 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/ $(INSTALL) -c -m 644 docs/nmap.xsl $(DESTDIR)$(nmapdatadir)/ $(INSTALL) -c -m 644 docs/nmap.dtd $(DESTDIR)$(nmapdatadir)/ $(INSTALL) -c -m 644 nmap-services $(DESTDIR)$(nmapdatadir)/ @@ -236,7 +236,7 @@ uninstall: rm -f $(bindir)/$(TARGET) $(bindir)/xnmap - rm -f $(mandir)/man1/nmap.1 + rm -f $(mandir)/man1/$(TARGET).1 $(mandir)/man1/zenmap.1 rm -rf $(nmapdatadir) $(nmaplibexecdir) ${srcdir}/configure: configure.ac
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Install Zenmap man page in 'make install' Kris Katterjohn (Jan 23)
- Re: [PATCH] Install Zenmap man page in 'make install' Fyodor (Jan 23)
