summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-18 06:55:32 +0000
committerru <ru@FreeBSD.org>2002-04-18 06:55:32 +0000
commit06e6019ff340c96e515316e2a36266267668b8ed (patch)
tree1cb64ec04e472ca244e38692b57940e02fa2c6f1 /share
parentcc85fa29a67abc6cb0fc2f3902e2f284a8fd41cc (diff)
downloadFreeBSD-src-06e6019ff340c96e515316e2a36266267668b8ed.zip
FreeBSD-src-06e6019ff340c96e515316e2a36266267668b8ed.tar.gz
INFODIR is defined in bsd.own.mk but sys.mk no longer includes
bsd.own.mk as of share/mk/sys.mk,v 1.60. I did not notice this because I tested with DESTDIR=/foo/5.0, and the "exists(/foo/5.0)" test apparently succeeded. Reported by: fenner
Diffstat (limited to 'share')
-rw-r--r--share/info/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/info/Makefile b/share/info/Makefile
index ae9ad03..2a75fe4 100644
--- a/share/info/Makefile
+++ b/share/info/Makefile
@@ -3,6 +3,8 @@
NOOBJ= noobj
+.include <bsd.prog.mk>
+
beforeinstall:
.if !exists(${DESTDIR}${INFODIR})
@echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!"
@@ -18,5 +20,3 @@ beforeinstall:
${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
dir-tmpl ${DESTDIR}${INFODIR}/dir
.endif
-
-.include <bsd.prog.mk>
OpenPOWER on IntegriCloud