diff options
Diffstat (limited to 'share/info')
-rw-r--r-- | share/info/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/info/Makefile b/share/info/Makefile index f4ac782..ae9ad03 100644 --- a/share/info/Makefile +++ b/share/info/Makefile @@ -13,10 +13,10 @@ beforeinstall: @echo -n "install -d -o ${INFOOWN} -g ${INFOGRP} " @echo "-m 0755 ${DESTDIR}${INFODIR}" @exit 3; -.endif - ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} dir-tmpl \ - ${DESTDIR}${INFODIR}/dir-tmpl +.endif +.if !exists(${DESTDIR}${INFODIR}/dir) ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ dir-tmpl ${DESTDIR}${INFODIR}/dir +.endif .include <bsd.prog.mk> |