]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Don't install compile_et into its own directory
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Thu, 14 Jan 2010 16:57:15 +0000 (16:57 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 14 Jan 2010 17:01:32 +0000 (09:01 -0800)
When pinstall sees that the basenames of its two arguments differ,
it assumes that its installing into a path, and creates the missing
directory. This meant that we got /usr/bin/afs_compile_et/compile_et
which wasn't the desired result.

Change-Id: Ie6af2d3fd9c5166dd2d884c22d287c180b24fab1
Reviewed-on: http://gerrit.openafs.org/1099
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/comerr/Makefile.in

index 4102de1379d4bc7dbc5c006f98bf3f92b3d00d6d..35b8715df7689ffbd95acda9c008f1ea57b3c588 100644 (file)
@@ -31,7 +31,7 @@ libcom_err.a: error_msg.o et_name.o com_err.o AFS_component_version_number.o
 install:  ${DESTDIR}${bindir}/afs_compile_et ${DESTDIR}${includedir}/afs/com_err.h ${DESTDIR}${includedir}/afs/error_table.h ${DESTDIR}${includedir}/afs/mit-sipb-cr.h ${DESTDIR}${libdir}/afs/libcom_err.a
 
 ${DEST}/bin/afs_compile_et: compile_et
-       ${INSTALL} $? $@
+       ${INSTALL} -f $? $@
 
 ${DEST}/include/afs/com_err.h: com_err.h
        ${INSTALL} $? $@