blob: 77b717c2eb08325e759d0a8d56dbed6ee2315760 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
PREFIX = /usr/local
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR = ${DPREFIX}/share/man
DOAS_CONF = /etc/doas.conf
all:
install:
mkdir -p ${DPREFIX}/bin ${MANDIR}/man7 ${MANDIR}/man8
cp doasutils.7 ${MANDIR}/man7
cp doasedit ${DPREFIX}/bin
cp doasedit.8 ${MANDIR}/man8
sed 's|@DOAS_CONF@|${DOAS_CONF}|g' vidoas >${DPREFIX}/bin/vidoas
sed 's|@DOAS_CONF@|${DOAS_CONF}|g' vidoas.8 >${MANDIR}/man8/vidoas.8
chmod +x ${DPREFIX}/bin/vidoas
|