From 6a318e696e241e5dae67d8abc3dca39bc53bb784 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Wed, 8 Aug 2018 19:15:48 +0000 Subject: [PATCH] DIRS: Fix duplicate target warnings. --- share/mk/bsd.dirs.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/mk/bsd.dirs.mk b/share/mk/bsd.dirs.mk index 42e14f3e4204..72e6c2cb46f1 100644 --- a/share/mk/bsd.dirs.mk +++ b/share/mk/bsd.dirs.mk @@ -30,10 +30,12 @@ installdirs: installdirs-${dir} installdirs-${dir}: installdirs-${DESTDIR}${${dir}} +. if !target(installdirs-${DESTDIR}${${dir}}) installdirs-${DESTDIR}${${dir}}: @${ECHO} installing DIRS ${dir} ${INSTALL} ${${dir}TAG_ARGS} -d -m ${${dir}_MODE} -o ${${dir}_OWN} \ -g ${${dir}_GRP} ${${dir}_FLAG} ${DESTDIR}${${dir}} +. endif . endif realinstall: installdirs-${dir}