irix-makefileproto-fix-dest-target-20010910
authorDerrick Brashear <shadow@dementia.org>
Tue, 11 Sep 2001 04:30:49 +0000 (04:30 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 11 Sep 2001 04:30:49 +0000 (04:30 +0000)
rely on DEST not DESTDIR
also install instead of cp to implicitly create needed directory

src/libafs/MakefileProto.IRIX.in

index c2e0403..76f9afa 100644 (file)
@@ -423,10 +423,10 @@ install_MODLOAD.libafs: ${LIBAFSNONFSO}
 dest_MODLOAD.libafs: ${LIBAFSNONFSO}
 <all -sgi_65>
        ${CP} ${LIBAFSNONFSO} \
-               ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${MPSP}.${CPUARCH}.nonfs.o
+               ${DEST}/root.client/usr/vice/etc/sgiload/libafs.${MPSP}.${CPUARCH}.nonfs.o
 <sgi_65>
        ${CP} ${LIBAFSNONFSO} \
-               ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${IPNO}.nonfs.o
+               ${DEST}/root.client/usr/vice/etc/sgiload/libafs.${IPNO}.nonfs.o
 <all>
 
 ${LIBAFSNONFSO}: $(AFSAOBJS) $(AFSNONFSOBJS)
@@ -441,9 +441,9 @@ install_COPYFILES:
        chmod 644 ${DESTDIR}${afskerneldir}/afs
 
 dest_COPYFILES:
-       ${CP} sgi_system ${DEST}/root.client/bin/afs.sm
+       ${INSTALL} -f sgi_system ${DEST}/root.client/bin/afs.sm
        chmod 644 ${DEST}/root.client/bin/afs.sm
-       ${CP} sgi_master ${DEST}/root.client/bin/afs
+       ${INSTALL} -f sgi_master ${DEST}/root.client/bin/afs
        chmod 644 ${DEST}/root.client/bin/afs
 
 # Create symlinks to clients we don't need to build.