From 7f2c251d2683138ac4fe4f8c45f25773612ce851 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 24 Jan 2000 16:14:32 +0000 Subject: o No need to install `dir-tmpl' to /usr/share/info. o Do not clobber an existing /usr/share/info/dir. Reviewed by: bde --- share/info/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/info') 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 -- cgit v1.1