libafscp: makefile install rule update
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 22 Nov 2013 16:50:11 +0000 (11:50 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 29 Jan 2014 15:21:00 +0000 (07:21 -0800)
Change the makefile install rules to install the header
file from the libafscp directory, and not the top level
include directory to make the install rules consistent
with the rest of the tree.

Change-Id: Ia06c29e72f7005569f2d11d3d0f6691413e0eeec
Reviewed-on: http://gerrit.openafs.org/10514
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

src/libafscp/Makefile.in

index 16dbe9a..32d3cd2 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} ${TOP_INCDIR}/afs/afscp.h ${DESTDIR}${includedir}/afs/afscp.h
+       ${INSTALL_DATA} 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} ${TOP_INCDIR}/afs/afscp.h ${DEST}/include/afs/afscp.h
+       ${INSTALL_DATA} afscp.h ${DEST}/include/afs/afscp.h
 
 #
 # Misc targets