diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-18 18:54:22 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-18 18:56:28 (EDT) |
commit | e81428648395a7309cdc2d1306fbe45af9e573f7 (patch) | |
tree | 267535b974bc1fa4cfa15d11354f8ae4b99788c4 /build | |
parent | 61ae95a9badf00ecd8e83d7be7d86c45441b2805 (diff) |
build: Install private headers.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |