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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Christof Hanke 2011-06-01 11:48:46 +02:00 committed by Derrick Brashear
parent 750b865928
commit 6af6a6a7cb

View File

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