Install afscp.h from srcdir, not the build dir
authorBenjamin Kaduk <kaduk@mit.edu>
Wed, 21 May 2014 19:58:17 +0000 (15:58 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 23 May 2014 13:07:00 +0000 (09:07 -0400)
That header is not a generated file, and is not found in the
object directory.  make install would fail from a separate objdir
prior to this change.

Change-Id: I31041c793bd930cfe2fc3c5f8a754ba1b91c26e5
Reviewed-on: http://gerrit.openafs.org/11160
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/libafscp/Makefile.in

index 32d3cd2..071dd63 100644 (file)
@@ -49,13 +49,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} ${srcdir}/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} ${srcdir}/afscp.h ${DEST}/include/afs/afscp.h
 
 #
 # Misc targets