summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/indxbib/Makefile
blob: 32282af5f388ddc5f81a11886164e66045b41a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for indxbib

PROG=		indxbib
SRCS=		indxbib.cc dirnamemax.c signal.c
CFLAGS+=	-I${.CURDIR}/../include
LDADD+= 	${LIBBIB} ${LIBGROFF} -lm
DPADD+= 	${LIBBIB} ${LIBGROFF} ${LIBMATH}

MANDEPEND=	indxbib.1
CLEANFILES+=	${MANDEPEND}

# Ugh - I can't grab /usr/share from ../../../share/Makefile.inc
# since I've already grabbed a BINDIR file for installing indxbib.
# Sigh... Hardcode it.  	- jkh
#
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/eign \
		${DESTDIR}${SHAREDIR}/dict

.include "../Makefile.cfg"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud