Install tclAppInit.c in the installhdrs step so that it isn't necessary

to build libtcl twice in `make world'.
This commit is contained in:
bde 1998-03-23 13:15:41 +00:00
parent ad583a7187
commit 0483657e25

View File

@ -1,5 +1,5 @@
#! /bin/sh
# $Id: mkMakefile.sh,v 1.27 1998/01/17 15:49:48 bde Exp $
# $Id: mkMakefile.sh,v 1.28 1998/01/17 15:52:22 bde Exp $
#
# This script generates a bmake Makefile for src/lib/libtcl
#
@ -45,7 +45,7 @@ echo '#
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
#
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
# $Id: mkMakefile.sh,v 1.27 1998/01/17 15:49:48 bde Exp $
# $Id: mkMakefile.sh,v 1.28 1998/01/17 15:52:22 bde Exp $
#
' | tr -d '$' >> ${LIBTCL}Makefile
@ -106,14 +106,14 @@ beforeinstall: installhdrs
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
$$e/*.tcl ${DESTDIR}${TCL_LIBRARY}/$$e ; \
done )
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${TCLDIST}/unix/tclAppInit.c ${DESTDIR}${TCL_LIBRARY}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros
installhdrs:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include/tcl
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${TCLDIST}/unix/tclAppInit.c ${DESTDIR}${TCL_LIBRARY}
MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;"
' >> ${LIBTCL}Makefile