mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Create $(DESTDIR)$(mandir)/man1 before trying to install zenmap.1 into it in
Makefile.in.
This commit is contained in:
parent
bad1caa2e0
commit
67739dfa73
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py
|
|||
cd $(ZENMAPDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
|
||||
|
||||
install-zenmap: $(ZENMAPDIR)/setup.py
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
||||
cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
|
||||
$(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
|
||||
# Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue