summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1998-01-03 14:06:26 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1998-01-03 14:06:26 +0000
commit19a80d07dea234d4a440126a2df2e8ca4f81f71c (patch)
treee74d83e841eb8264029f35e4820b983af3a70195
parent32bebd8d26fdc932b952ff0ee5a0d68aff3ca798 (diff)
downloadsrc-test2-19a80d07dea234d4a440126a2df2e8ca4f81f71c.tar.gz
src-test2-19a80d07dea234d4a440126a2df2e8ca4f81f71c.zip
Notes
-rw-r--r--share/info/Makefile13
1 files 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 <bsd.prog.mk>