Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/me avoid unnecessarily using /tmp during "make install"



details:   https://anonhg.NetBSD.org/src/rev/a3687411bfec
branches:  trunk
changeset: 513679:a3687411bfec
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 07 10:24:46 2001 +0000

description:
avoid unnecessarily using /tmp during "make install"

diffstat:

 share/me/Makefile |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 9da7ce5dc329 -r a3687411bfec share/me/Makefile
--- a/share/me/Makefile Tue Aug 07 08:31:16 2001 +0000
+++ b/share/me/Makefile Tue Aug 07 10:24:46 2001 +0000
@@ -1,5 +1,5 @@
 #      @(#)Makefile    8.2 (Berkeley) 3/27/94
-#      $NetBSD: Makefile,v 1.17 2000/09/23 13:53:43 simonb Exp $
+#      $NetBSD: Makefile,v 1.18 2001/08/07 10:24:46 mrg Exp $
 
 MELIB= ${BINDIR}/me
 TMLIB= ${BINDIR}/tmac
@@ -22,10 +22,10 @@
 .endif
 
 ${DESTDIR}${MELIB}/${M}: ${M}
-       @rm -f ${.TARGET} /tmp/${M}.tmp
-       sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > /tmp/${M}.tmp
+       @rm -f ${.TARGET} ${M}.tmp
+       sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
        ${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -o ${BINOWN} \
-           -g ${BINGRP} -m ${NONBINMODE} /tmp/${M}.tmp ${.TARGET}
+           -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
 .endfor
 
 .for M in ${TMSRCS}
@@ -39,10 +39,10 @@
 .endif
 
 ${DESTDIR}${TMLIB}/${M}: ${M}
-       @rm -f ${.TARGET} /tmp/${M}.tmp
-       sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > /tmp/${M}.tmp
+       @rm -f ${.TARGET} ${M}.tmp
+       sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
        ${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -o ${BINOWN} \
-           -g ${BINGRP} -m ${NONBINMODE} /tmp/${M}.tmp ${.TARGET}
+           -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
 .endfor
 
 proginstall:: ${DESTDIR}${MELIB}/revisions



Home | Main Index | Thread Index | Old Index