diff options
author | ru <ru@FreeBSD.org> | 2000-01-24 16:14:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-01-24 16:14:32 +0000 |
commit | 7f2c251d2683138ac4fe4f8c45f25773612ce851 (patch) | |
tree | ec6bde5cb1dc1c4bb7e863499290f6a571d31600 /share/info | |
parent | 1cb869c043ebd27fcd3ba46e52eac2e4b2767ec9 (diff) | |
download | FreeBSD-src-7f2c251d2683138ac4fe4f8c45f25773612ce851.zip FreeBSD-src-7f2c251d2683138ac4fe4f8c45f25773612ce851.tar.gz |
o No need to install `dir-tmpl' to /usr/share/info.
o Do not clobber an existing /usr/share/info/dir.
Reviewed by: bde
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> |