]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
config: use the standard INSTALL_DATA makefile macro
authorMichael Meffie <mmeffie@sinenomine.net>
Sun, 19 Jan 2014 19:02:28 +0000 (14:02 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 7 Aug 2014 10:59:12 +0000 (06:59 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 31d6467aa058a2b49c22188dfb0ca70b766d127f)

Change-Id: I7b7cc1d74c84090c9042b624af1c4e4b5c61ac6d
Reviewed-on: http://gerrit.openafs.org/11230
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/config/Makefile.in

index 90b20f19cbad515a893e7041234c185d5868ebbd..d8532ea41807571ef50e6b07fa3ed6b48d6d5e56 100644 (file)
@@ -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