]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 7 Aug 2014 10:54:00 +0000 (06:54 -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.

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>
(cherry picked from commit 7a701239d8327ae738124edb5e11f3bcbb08a76b)

Change-Id: I738adc464aa36b68403b69912253faf17cb01621
Reviewed-on: http://gerrit.openafs.org/11342
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafscp/Makefile.in

index 3a09327d9ec0dccfb3229d81f167b39c22a2a6ee..08b32b267326433f4a6bd95b52c8cac493abb5e9 100644 (file)
@@ -81,13 +81,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