From: Michał Kępień Date: Tue, 12 Feb 2019 14:59:54 +0000 (+0100) Subject: Install named plugins into a separate directory X-Git-Tag: v9.15.0~123^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c527b7fd5c583ace1921117fc1580fe1bbde8e02;p=thirdparty%2Fbind9.git Install named plugins into a separate directory Installing named plugins into ${libdir} clutters the latter and is not in line with common filesystem conventions. Instead, install named plugins into a separate directory, ${libdir}/named. --- diff --git a/bin/plugins/Makefile.in b/bin/plugins/Makefile.in index c6c8a915ad2..0e061e77964 100644 --- a/bin/plugins/Makefile.in +++ b/bin/plugins/Makefile.in @@ -59,14 +59,14 @@ clean distclean:: rm -f ${TARGETS} ${OBJS} installdirs: - $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} + $(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}${libdir} + ${DESTDIR}${plugindir} ${INSTALL_DATA} ${srcdir}/filter-aaaa.8 ${DESTDIR}${mandir}/man8 uninstall:: - ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/filter-aaaa.@SO@ + ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${plugindir}/filter-aaaa.@SO@ rm -f ${DESTDIR}${mandir}/man8/filter-aaaa.8 diff --git a/make/rules.in b/make/rules.in index 5cc4a4e67d3..80398564892 100644 --- a/make/rules.in +++ b/make/rules.in @@ -28,6 +28,8 @@ localstatedir = @localstatedir@ mandir = @mandir@ datarootdir = @datarootdir@ +plugindir = ${libdir}/named + DESTDIR = @SET_MAKE@