mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
Split beforeinstall target so that headers can be installed without
installing data files.
This commit is contained in:
parent
4963bbb24d
commit
8f45662223
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28534
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $Id: mkMakefile.sh,v 1.23 1997/08/12 18:30:34 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.24 1997/08/16 07:11:28 peter 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.23 1997/08/12 18:30:34 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.24 1997/08/16 07:11:28 peter Exp $
|
||||
#
|
||||
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||
|
||||
@ -101,9 +101,7 @@ echo '
|
||||
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 && \
|
||||
@ -115,6 +113,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
|
||||
|
Loading…
Reference in New Issue
Block a user