forked from altcloud/fence-virt
Use sysconfdir for /etc/fence_virt.conf
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
9931f5f4e7
commit
d8f91dfe3a
@ -8,6 +8,7 @@ YACC=@YACC@
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
sysconfdir=@sysconfdir@
|
||||
sbindir=@sbindir@
|
||||
libdir=@libdir@
|
||||
|
||||
|
@ -48,6 +48,9 @@ clean:
|
||||
rm -f ${TARGETS} *~ *.o testprog config.tab.c config.tab.h config.c
|
||||
|
||||
install:
|
||||
if [ ! -f ${DESTDIR}/etc/fence_virt.conf ]; then \
|
||||
install -m 0644 example.conf ${DESTDIR}/etc/fence_virt.conf; \
|
||||
if [ ! -d ${DESTDIR}/${sysconfdir} ]; then \
|
||||
install -d ${DESTDIR}/${sysconfdir} ; \
|
||||
fi
|
||||
if [ ! -f ${DESTDIR}/${sysconfdir}/fence_virt.conf ]; then \
|
||||
install -m 0644 example.conf ${DESTDIR}/${sysconfdir}/fence_virt.conf; \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user