mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
add DESTDIR support
This commit is contained in:
@@ -27,14 +27,14 @@ TARGETS =
|
||||
@BIND9_MAKE_RULES@
|
||||
|
||||
installdirs:
|
||||
if [ ! -d ${includedir} ]; then \
|
||||
mkdir ${includedir} ; \
|
||||
if [ ! -d ${DESTDIR}${includedir} ]; then \
|
||||
mkdir ${DESTDIR}${includedir} ; \
|
||||
fi
|
||||
if [ ! -d ${includedir}/isc ]; then \
|
||||
mkdir ${includedir}/isc ; \
|
||||
if [ ! -d ${DESTDIR)${includedir}/isc ]; then \
|
||||
mkdir ${DESTDIR}${includedir}/isc ; \
|
||||
fi
|
||||
|
||||
install:: installdirs
|
||||
for i in ${HEADERS}; do \
|
||||
${INSTALL_DATA} $(srcdir)/$$i ${includedir}/isc ; \
|
||||
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
|
||||
done
|
||||
|
Reference in New Issue
Block a user