diff -U 3 -H -d -r -N -- dttools-1_0_4.orig/src/Makefile dttools-1_0_4/src/Makefile --- dttools-1_0_4.orig/src/Makefile 2002-12-18 17:43:57.000000000 +0100 +++ dttools-1_0_4/src/Makefile 2004-03-16 22:42:08.509142104 +0100 @@ -34,10 +34,10 @@ rm -f core *~ *.o *.so libdttools.a make_int_sizes int_sizes.h $(PROGRAMS) install: all - install -d ${INSTALL_DIR} - install -d ${INSTALL_DIR}/bin - install -d ${INSTALL_DIR}/lib - install -d ${INSTALL_DIR}/include - for file in ${PROGRAMS} ; do install $$file ${INSTALL_DIR}/bin/$$file ; done - for file in ${LIBRARIES} ; do install $$file ${INSTALL_DIR}/lib/$$file ; done - for file in ${HEADERS} ; do install $$file ${INSTALL_DIR}/include/$$file ; done + install -d ${DESTDIR} + install -d ${DESTDIR}/${INSTALL_DIR}/bin + install -d ${DESTDIR}/${INSTALL_DIR}/lib + install -d ${DESTDIR}/${INSTALL_DIR}/include/dttools + for file in ${PROGRAMS} ; do install $$file ${DESTDIR}/${INSTALL_DIR}/bin/$$file ; done + for file in ${LIBRARIES} ; do install $$file ${DESTDIR}/${INSTALL_DIR}/lib/$$file ; done + for file in ${HEADERS} ; do install $$file ${DESTDIR}/${INSTALL_DIR}/include/dttools/$$file ; done