changeset 221:a46a68500517

rvinterf/Makefile: install include files in /opt/freecalypso/include/rvinterf
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 May 2017 20:04:35 +0000
parents 5c78f132547c
children 7168f63fc3b8
files rvinterf/Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rvinterf/Makefile	Sat May 20 19:57:49 2017 +0000
+++ b/rvinterf/Makefile	Sat May 20 20:04:35 2017 +0000
@@ -2,6 +2,8 @@
 LIBDIR=	libasync libg23
 SUBDIR=	${PROGDIR} ${LIBDIR}
 
+INCLUDE_INSTALL_DIR=	/opt/freecalypso/include/rvinterf
+
 all:	${SUBDIR}
 
 asyncshell:	libasync libg23
@@ -17,5 +19,7 @@
 
 install: FRC
 	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
+	mkdir -p ${INCLUDE_INSTALL_DIR}
+	install -c -m 644 include/* ${INCLUDE_INSTALL_DIR}
 
 FRC: