summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.obj.mk
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-02-14 05:09:07 +0000
committerjdp <jdp@FreeBSD.org>1997-02-14 05:09:07 +0000
commit81a53fe8efc7d4df59bfada527f6547a1ae1c5ee (patch)
treeef541473affd4fa5f5d08dec722793ea5e068941 /share/mk/bsd.obj.mk
parent06b2e5746cb715870a1f7b71d244c6e42ed632db (diff)
downloadFreeBSD-src-81a53fe8efc7d4df59bfada527f6547a1ae1c5ee.zip
FreeBSD-src-81a53fe8efc7d4df59bfada527f6547a1ae1c5ee.tar.gz
In the "cleanobj" target, always remove the old-style "${.CURDIR}/obj"
links if they exist. The old-style links confused make and caused problems when upgrading from a 2.1.5 or 2.1.6 system. I will merge this into -2.2.
Diffstat (limited to 'share/mk/bsd.obj.mk')
-rw-r--r--share/mk/bsd.obj.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk
index aba312d..d8efd83 100644
--- a/share/mk/bsd.obj.mk
+++ b/share/mk/bsd.obj.mk
@@ -117,9 +117,7 @@ cleanobj:
else \
cd ${.CURDIR} && ${MAKE} clean cleandepend; \
fi
-.if defined(OBJLINK)
@if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
-.endif
.if !target(cleanfiles)
cleanfiles:
OpenPOWER on IntegriCloud