From: Michael Meffie Date: Sun, 19 Jan 2014 19:02:28 +0000 (-0500) Subject: config: use the standard INSTALL_DATA makefile macro X-Git-Tag: openafs-stable-1_8_0pre1~815 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=31d6467aa058a2b49c22188dfb0ca70b766d127f config: use the standard INSTALL_DATA makefile macro Replace the custom INST makefile macro with the standard INSTALL_DATA macro for installing and exporting files. Change-Id: I5d8c41d1c6d2c3ee021e0d6a5fbca8ef9178e74d Reviewed-on: http://gerrit.openafs.org/10723 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Derrick Brashear --- diff --git a/src/config/Makefile.in b/src/config/Makefile.in index aefc919..75d64e3 100644 --- a/src/config/Makefile.in +++ b/src/config/Makefile.in @@ -10,8 +10,6 @@ include @TOP_OBJDIR@/src/config/Makefile.config include @TOP_OBJDIR@/src/config/Makefile.lwp -INST=$(RM) -f $@; $(CP) $? $@ - all: config mkvers \ ${TOP_INCDIR}/afs/param.h \ ${TOP_INCDIR}/afs/stds.h \ @@ -68,25 +66,25 @@ param.h.new: ${srcdir}/param.${SYS_NAME}.h ${AFS_PARAM_COMMON} fi ${DEST}/include/afs/param.h ${DESTDIR}${includedir}/afs/param.h ${TOP_INCDIR}/afs/param.h: param.h.new - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/afs_sysnames.h ${DESTDIR}${includedir}/afs/afs_sysnames.h ${TOP_INCDIR}/afs/afs_sysnames.h: ${srcdir}/afs_sysnames.h - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/stds.h ${DESTDIR}${includedir}/afs/stds.h ${TOP_INCDIR}/afs/stds.h: ${srcdir}/stds.h - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/icl.h ${DESTDIR}${includedir}/afs/icl.h ${TOP_INCDIR}/afs/icl.h: ${srcdir}/icl.h - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/afs_args.h ${DESTDIR}${includedir}/afs/afs_args.h ${TOP_INCDIR}/afs/afs_args.h: ${srcdir}/afs_args.h - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/venus.h ${DESTDIR}${includedir}/afs/venus.h ${TOP_INCDIR}/afs/venus.h: ${srcdir}/venus.h - $(INST) + ${INSTALL_DATA} $? $@ ${DEST}/include/afs/vioc.h ${DESTDIR}${includedir}/afs/vioc.h ${TOP_INCDIR}/afs/vioc.h: ${srcdir}/vioc.h - $(INST) + ${INSTALL_DATA} $? $@ # these are needed to compile the kernel. Config is necessary to # convert the MakefileProto in libafs and the kernel links provide the