forked from altcloud/fence-virt
Add man page build infrastructure
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
5e68396cf9
commit
8d9ec21be9
@ -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
|
||||
|
@ -12,5 +12,6 @@ exec_prefix=@exec_prefix@
|
||||
sysconfdir=@sysconfdir@
|
||||
sbindir=@sbindir@
|
||||
libdir=@libdir@
|
||||
mandir=@mandir@
|
||||
|
||||
PACKAGE_NAME=@PACKAGE_NAME@
|
||||
|
@ -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
25
man/Makefile.in
Normal 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:
|
Loading…
x
Reference in New Issue
Block a user