opnsense-src/share/info/Makefile

23 lines
642 B
Makefile
Raw Normal View History

1997-01-10 21:44:34 -05:00
# @(#)Makefile 8.1 (Berkeley) 6/5/93
1999-08-27 20:22:10 -04:00
# $FreeBSD$
1997-01-10 21:44:34 -05:00
NO_OBJ=
1997-01-10 21:44:34 -05:00
.include <bsd.prog.mk>
1997-01-10 21:44:34 -05:00
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
.if !exists(${DESTDIR}${INFODIR}/dir)
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
1998-01-03 09:06:26 -05:00
dir-tmpl ${DESTDIR}${INFODIR}/dir
.endif