Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/resize Only specify the dependencies if we are makin...
details: https://anonhg.NetBSD.org/src/rev/867f148e54ac
branches: trunk
changeset: 959980:867f148e54ac
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 02 14:26:00 2021 +0000
description:
Only specify the dependencies if we are making the copy target.
diffstat:
usr.bin/resize/Makefile | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r f946ae8716da -r 867f148e54ac usr.bin/resize/Makefile
--- a/usr.bin/resize/Makefile Tue Mar 02 13:44:58 2021 +0000
+++ b/usr.bin/resize/Makefile Tue Mar 02 14:26:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2021/02/28 09:04:28 mrg Exp $
+# $NetBSD: Makefile,v 1.7 2021/03/02 14:26:00 christos Exp $
.include <bsd.own.mk>
@@ -14,14 +14,14 @@
XTERM=${X11SRCDIR}/external/mit/xterm/dist
# XXX disable for now; breaks on r/o source trees.
-.if 0
-.if exists(${XTERM})
-.for i in resize.c resize.man
+.if make(copy)
+. if exists(${XTERM})
+. for i in resize.c resize.man
copy:: ${.CURDIR}/${i}
${.CURDIR}/${i}: ${XTERM}/${i}
cp -p ${.ALLSRC} ${.TARGET}
-.endfor
-.endif
+. endfor
+. endif
.endif
CLEANFILES+=resize.1
Home |
Main Index |
Thread Index |
Old Index