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: upstream/1.6.10_pre1^2~61 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b1f177a920d7f700c34bb14b5038e052803c35b7;p=packages%2Fo%2Fopenafs.git 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. Reviewed-on: http://gerrit.openafs.org/10723 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Derrick Brashear (cherry picked from commit 31d6467aa058a2b49c22188dfb0ca70b766d127f) Change-Id: I7b7cc1d74c84090c9042b624af1c4e4b5c61ac6d Reviewed-on: http://gerrit.openafs.org/11230 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Benjamin Kaduk Reviewed-by: Stephan Wiesand --- diff --git a/src/config/Makefile.in b/src/config/Makefile.in index 90b20f19c..d8532ea41 100644 --- a/src/config/Makefile.in +++ b/src/config/Makefile.in @@ -14,8 +14,6 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ CFLAGS=${DBG} ${OPTMZ} -I${TOP_INCDIR} ${XCFLAGS} ${ARCHFLAGS} -INST=$(RM) -f $@; $(CP) $? $@ - all: config mkvers \ ${TOP_INCDIR}/afs/param.h \ ${TOP_INCDIR}/afs/stds.h \ @@ -75,25 +73,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