1
0
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:
david
2007-11-27 18:38:33 +00:00
parent f3ea111cb0
commit 84e831b717

View File

@@ -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/* || :