mirror of
https://github.com/nmap/nmap.git
synced 2026-02-05 21:16:33 +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:
@@ -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/* || :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user