summaryrefslogtreecommitdiffstats
path: root/share/info/Makefile
blob: 7502e3ab5615986e032cc993816dd64706ecd347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#       @(#)Makefile    8.1 (Berkeley) 6/5/93
# $FreeBSD$

NOOBJ=  noobj

all clean cleandir depend lint tags:

beforeinstall:
.if !exists(${DESTDIR}${INFODIR})
	@echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!"
	@echo "Perhaps the variable INFODIR is set incorrectly"
	@echo "or your mtree database files are broken."
	@echo ""
	@echo "As a workaround you can create the directory by hand, e.g.:"
	@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
.if !exists(${DESTDIR}${INFODIR}/dir)
	${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
		 dir-tmpl ${DESTDIR}${INFODIR}/dir
.endif

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud