2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

fix plugin installation

This commit is contained in:
Mark Andrews 2019-03-22 09:10:48 +11:00
parent d089387d7f
commit cd3593c38d

View File

@ -25,6 +25,7 @@ NSLIBS = ../../lib/ns/libns.@A@
LIBS =
SO_TARGETS = lib/filter-aaaa.@SO@
SO_INSTALL = filter-aaaa.@SO@
TARGETS = @SO_TARGETS@
SO_OBJS = filter-aaaa.@O@
@ -62,9 +63,15 @@ installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${plugindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
install:: filter-aaaa.@SO@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} filter-aaaa.@SO@ \
${DESTDIR}${plugindir}
install:: @SO_TARGETS@ installdirs
for i in ${SO_INSTALL} ; \
do \
if test -f $$i ; \
then \
${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} $$i \
${DESTDIR}${plugindir}; \
fi \
done
${INSTALL_DATA} ${srcdir}/filter-aaaa.8 ${DESTDIR}${mandir}/man8
uninstall::