Fix installation target for man pages

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
Lon Hohberger 2009-12-04 15:23:35 -05:00
parent 57d2bcfda9
commit 3094c522f4

View File

@ -17,7 +17,7 @@ TARGETS=fence_virt.8 fence_xvm.8
all: $(TARGETS)
install: all
if [ ! -d ${DESTDIR}/${sbindir} ]; then \
if [ ! -d ${DESTDIR}/${mandir}/man8 ]; then \
install -d ${DESTDIR}/${mandir}/man8 ; \
fi
install -m755 ${TARGETS} ${DESTDIR}/${mandir}/man8