Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/resize Don't define the copy rules if we don't have ...
details: https://anonhg.NetBSD.org/src/rev/2fbd10edb452
branches: trunk
changeset: 981095:2fbd10edb452
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 27 22:37:54 2021 +0000
description:
Don't define the copy rules if we don't have X sources
diffstat:
usr.bin/resize/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r c45408469ec9 -r 2fbd10edb452 usr.bin/resize/Makefile
--- a/usr.bin/resize/Makefile Sat Feb 27 21:13:09 2021 +0000
+++ b/usr.bin/resize/Makefile Sat Feb 27 22:37:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/02/27 16:08:08 christos Exp $
+# $NetBSD: Makefile,v 1.4 2021/02/27 22:37:54 christos Exp $
.include <bsd.own.mk>
@@ -14,11 +14,13 @@
XTERM=${X11SRCDIR}/external/mit/xterm/dist
+.if exists(${XTERM})
.for i in resize.c resize.man
copy:: ${.CURDIR}/${i}
${.CURDIR}/${i}: ${XTERM}/${i}
cp -p ${.ALLSRC} ${.TARGET}
.endfor
+.endif
CLEANFILES+=resize.1
Home |
Main Index |
Thread Index |
Old Index