2
0
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:
Bob Halley
2000-02-08 21:50:23 +00:00
parent 429bc0239f
commit a2f3208f7f
13 changed files with 54 additions and 52 deletions

View File

@@ -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