mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Make the man page directory before attempting to copy the man page in
zenmap.spec.in. "make distro" works for me.
This commit is contained in:
parent
f3ea111cb0
commit
84e831b717
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ make build-zenmap DESTDIR=$RPM_BUILD_ROOT
|
|||
make install-zenmap DESTDIR=$RPM_BUILD_ROOT
|
||||
# Don't package the uninstaller with the RPM.
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/uninstall_zenmap
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
cp docs/zenmap.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue