summaryrefslogtreecommitdiff
path: root/lib/libedit/readline/Makefile
blob: 770325a076992e0eb1ebfd3a60f02ac3c1b73ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.1 2003/10/31 08:42:24 otto Exp $
#	$NetBSD: Makefile,v 1.7 2003/08/03 09:23:15 lukem Exp $	

NOOBJ=          # defined

.include <bsd.own.mk>

includes:
	 ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
		${DESTDIR}/usr/include/readline
	-cd ${.CURDIR}; cmp -s readline.h ${DESTDIR}/usr/include/readline/readline.h > \
		/dev/null 2>&1 || \
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 readline.h \
		${DESTDIR}/usr/include/readline
	rm -f ${DESTDIR}/usr/include/readline/history.h
	cd ${DESTDIR}/usr/include/readline && ln -s readline.h history.h

.include <bsd.prog.mk>