From e81428648395a7309cdc2d1306fbe45af9e573f7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 18 Sep 2013 18:54:22 -0400 Subject: build: Install private headers. --- diff --git a/build b/build index 336806a..1fa2d49 100755 --- a/build +++ b/build @@ -9,6 +9,7 @@ nop: configure: TCL_LIBRARY='/usr/share/$(OPK_SOURCE)' \ + TCL_PACKAGE_PATH='$${TCL_LIBRARY}' \ TCL_SHLIB_LD_EXTRAS='-Wl,-soname,$${TCL_LIB_FILE}' \ oh-autoconfigure -s src/unix -B src/unix -- \ --enable-shared \ @@ -25,6 +26,11 @@ build: configure install: build oh-autoinstall -s src/unix -B src/unix -- \ MANN_INSTALL_DIR='$$(MAN_INSTALL_DIR)/man3' + for dir in generic unix compat libtommath; do \ + mkdir -p dest/usr/include/$(OPK_SOURCE)/tcl-private/$${dir}; \ + cp src/$${dir}/*.h \ + dest/usr/include/$(OPK_SOURCE)/tcl-private/$${dir}; \ + done mv dest/usr/share/man/man1/tclsh.1 dest/usr/share/man/man1/tclsh.$(V).1 oh-fixperms oh-strip -- cgit v0.9.1