From 19a80d07dea234d4a440126a2df2e8ca4f81f71c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sat, 3 Jan 1998 14:06:26 +0000 Subject: Use INFO* variables. --- share/info/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/share/info/Makefile b/share/info/Makefile index 0360a58be245..b8d9e73ab8b0 100644 --- a/share/info/Makefile +++ b/share/info/Makefile @@ -1,15 +1,16 @@ # @(#)Makefile 8.1 (Berkeley) 6/5/93 +# $Id$ NOOBJ= noobj all clean cleandir depend lint tags: beforeinstall: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \ - ${DESTDIR}${BINDIR}/info/dir-tmpl - if [ ! -f ${DESTDIR}${BINDIR}/info/dir ]; then \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \ - ${DESTDIR}${BINDIR}/info/dir ; \ - fi + ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} dir-tmpl \ + ${DESTDIR}${INFODIR}/dir-tmpl +.if !exists(${DESTDIR}${INFODIR}/dir) + ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ + dir-tmpl ${DESTDIR}${INFODIR}/dir +.endif .include -- cgit v1.2.3