summaryrefslogtreecommitdiffstats
path: root/lib/libtcl
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-21 16:14:34 +0000
committerbde <bde@FreeBSD.org>1997-08-21 16:14:34 +0000
commitd4088a1d8c5a308c01be58029eb07bff2f01364b (patch)
tree9d0ef8a90c0504a93a85c34606654f284b271c0a /lib/libtcl
parentf4b3a54dfb246622887ad330ad63228a5754fa0b (diff)
downloadFreeBSD-src-d4088a1d8c5a308c01be58029eb07bff2f01364b.zip
FreeBSD-src-d4088a1d8c5a308c01be58029eb07bff2f01364b.tar.gz
Split beforeinstall target so that headers can be installed without
installing data files.
Diffstat (limited to 'lib/libtcl')
-rw-r--r--lib/libtcl/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtcl/Makefile b/lib/libtcl/Makefile
index 97da053..d89056a 100644
--- a/lib/libtcl/Makefile
+++ b/lib/libtcl/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.21 1997/08/12 18:33:06 peter Exp $
+# $Id: Makefile,v 1.22 1997/08/16 07:13:47 peter Exp $
#
# This file is generated automatically, do not edit it here!
#
@@ -45,9 +45,7 @@ SRCS= panic.c regexp.c tclAsync.c tclBasic.c tclBinary.c tclCkalloc.c \
HEADERS=generic/patchlevel.h generic/tclInt.h generic/tclPort.h \
generic/tclRegexp.h unix/tclUnixPort.h
-beforeinstall:
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include/tcl
+beforeinstall: installhdrs
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${TCLDIST}/library/tclIndex ${DESTDIR}${TCL_LIBRARY}
( cd ${TCLDIST}/library && \
@@ -59,6 +57,10 @@ beforeinstall:
${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
.for m in ${HEADERS}
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${TCLDIST}/$m \
${DESTDIR}/usr/include/tcl/$m
OpenPOWER on IntegriCloud