summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/indxbib/Makefile
blob: 5c1aa49084297fd0c18028516069664b15ade6c0 (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} ${LIBM}

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 \
		${DISTDIR}/eign ${DESTDIR}${SHAREDIR}/dict

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