From 6af6a6a7cb497d4e255bed7ccf07a5db06d16b91 Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Wed, 1 Jun 2011 11:48:46 +0200 Subject: [PATCH] libafscp: fix install/dest in sep. Objectdir When compiling libafscp in separate objdir, make dest and make install fail, because of wrong pathes. Fix it. Change-Id: Id2b672bce308609d99b343322babe890ec8d6a38 Reviewed-on: http://gerrit.openafs.org/4761 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/libafscp/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libafscp/Makefile.in b/src/libafscp/Makefile.in index 513fc48a0a..aeae02ccf3 100644 --- a/src/libafscp/Makefile.in +++ b/src/libafscp/Makefile.in @@ -55,13 +55,13 @@ install: all ${INSTALL} -d ${DESTDIR}${libdir} ${INSTALL} -d ${DESTDIR}${includedir}/afs ${INSTALL_DATA} libafscp.a ${DESTDIR}${libdir}/libafscp.a - ${INSTALL_DATA} afscp.h ${DESTDIR}${includedir}/afs/afscp.h + ${INSTALL_DATA} ${TOP_INCDIR}/afs/afscp.h ${DESTDIR}${includedir}/afs/afscp.h dest: all ${INSTALL} -d ${DEST}/lib ${INSTALL} -d ${DEST}/include/afs ${INSTALL_DATA} libafscp.a ${DEST}/lib/libafscp.a - ${INSTALL_DATA} afscp.h ${DEST}/include/afs/afscp.h + ${INSTALL_DATA} ${TOP_INCDIR}/afs/afscp.h ${DEST}/include/afs/afscp.h # # Misc targets