Add man page build infrastructure

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
Lon Hohberger 2009-12-04 14:54:28 -05:00
parent 5e68396cf9
commit 8d9ec21be9
4 changed files with 28 additions and 0 deletions

View File

@ -21,6 +21,7 @@ install:
make -C config install
make -C client install
make -C server install
make -C man install
clean:
make -C config clean

View File

@ -12,5 +12,6 @@ exec_prefix=@exec_prefix@
sysconfdir=@sysconfdir@
sbindir=@sbindir@
libdir=@libdir@
mandir=@mandir@
PACKAGE_NAME=@PACKAGE_NAME@

View File

@ -120,6 +120,7 @@ AC_SUBST(xvm_compat)
AC_CONFIG_FILES([Makefile.top
Makefile
man/Makefile
client/Makefile
common/Makefile
config/Makefile

25
man/Makefile.in Normal file
View File

@ -0,0 +1,25 @@
###############################################################################
###############################################################################
##
## Copyright (C) 2009 Red Hat, Inc.
##
## This copyrighted material is made available to anyone wishing to use,
## modify, copy, or redistribute it subject to the terms and conditions
## of the GNU General Public License v.2.
##
###############################################################################
###############################################################################
include ../Makefile.top
TARGETS=fence_virt.8 fence_xvm.8
all: $(TARGETS)
install: all
if [ ! -d ${DESTDIR}/${sbindir} ]; then \
install -d ${DESTDIR}/${mandir}/man8 ; \
fi
install -m755 ${TARGETS} ${DESTDIR}/${mandir}/man8
clean: