Add man pages to the build system and packages.
This commit is contained in:
parent
77825f6f77
commit
0cf0b27968
|
@ -1,7 +1,7 @@
|
|||
include $(top_srcdir)/config/rpm.am
|
||||
|
||||
if CONFIG_USER
|
||||
USER_DIR = config doc scripts lib cmd
|
||||
USER_DIR = config man scripts lib cmd
|
||||
endif
|
||||
if CONFIG_KERNEL
|
||||
KERNEL_DIR = module
|
||||
|
|
|
@ -52,7 +52,8 @@ ZFS_AC_DEBUG
|
|||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
config/Makefile
|
||||
doc/Makefile
|
||||
man/Makefile
|
||||
man/man8/Makefile
|
||||
lib/Makefile
|
||||
lib/libavl/Makefile
|
||||
lib/libefi/Makefile
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
EXTRA_DIST = LEGAL
|
|
@ -0,0 +1 @@
|
|||
SUBDIRS = man8
|
|
@ -0,0 +1,5 @@
|
|||
man_MANS = zdb.8 zfs.8 zpool.8
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
install-data-local:
|
||||
$(INSTALL) -d -m 0755 "$(DESTDIR)$(mandir)/man8"
|
|
@ -63,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%doc OPENSOLARIS.LICENSE README TODO ZFS.RELEASE
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/*
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
|
Loading…
Reference in New Issue