Fix objdir install/dest targets
[openafs.git] / src / volser / Makefile.in
index 214ab05..e4a2d3b 100644 (file)
@@ -156,7 +156,7 @@ install: restorevol voldump volser.h volint.h vos volserver libvolser.a
        ${INSTALL_PROGRAM} voldump ${DESTDIR}${sbindir}/voldump
        ${INSTALL_DATA} volser.h ${DESTDIR}${includedir}/afs/volser.h
        ${INSTALL_DATA} volint.h ${DESTDIR}${includedir}/afs/volint.h
-       ${INSTALL_DATA} vsutils_prototypes.h ${DESTDIR}${includedir}/afs/vsutils_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/vsutils_prototypes.h ${DESTDIR}${includedir}/afs/vsutils_prototypes.h
        ${INSTALL_PROGRAM} vos ${DESTDIR}${sbindir}/vos
        ${INSTALL_PROGRAM} vos ${DESTDIR}${afssrvsbindir}/vos
        ${INSTALL_DATA} libvolser.a ${DESTDIR}${libdir}/afs/libvolser.a
@@ -186,7 +186,7 @@ dest: restorevol voldump volser.h volint.h vos volserver libvolser.a
        ${INSTALL_PROGRAM} voldump ${DEST}/etc/voldump
        ${INSTALL_DATA} volser.h ${DEST}/include/afs/volser.h
        ${INSTALL_DATA} volint.h ${DEST}/include/afs/volint.h
-       ${INSTALL_DATA} vsutils_prototypes.h ${DEST}/include/afs/vsutils_prototypes.h
+       ${INSTALL_DATA} ${srcdir}/vsutils_prototypes.h ${DEST}/include/afs/vsutils_prototypes.h
        ${INSTALL_PROGRAM} vos ${DEST}/etc/vos
        ${INSTALL_PROGRAM} vos ${DEST}/root.server/usr/afs/bin/vos
        ${INSTALL_DATA} libvolser.a ${DEST}/lib/afs/libvolser.a