diff options
author | peter <peter@FreeBSD.org> | 1996-12-28 17:42:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-28 17:42:48 +0000 |
commit | 4323f50cde436c2362c742b7753795a3808d83c3 (patch) | |
tree | cbc51a205bc65c495d7f07c3f09f62f07a15282c /lib/compat/compat21 | |
parent | 8664b3762ed057d55c5ff88baf68749d397e14f0 (diff) | |
download | FreeBSD-src-4323f50cde436c2362c742b7753795a3808d83c3.zip FreeBSD-src-4323f50cde436c2362c742b7753795a3808d83c3.tar.gz |
Fix some more problems:
- the .gz files are no longer used as intermediate files, it's in a pipe
now. (gunzip normally deleted them anyway, but this should not hurt)
- I accidently left a -p arg to install from testing. Bruce says it should
be ${COPY} instead, but almost everything else in the tree uses plain -c
anyway.
- Use "LINKS=" or two identical files are installed sepeately instead of
as links (doh!)
- Use "LIB..." instead of "BIN..." for install permissions. Note that we
still use bsd.prog.mk, not bsd.lib.mk because bsd.lib.mk has problems
(it can't install a library unless it compiles it).
- Define LIBCOMPATDIR in Makefile.inc instead of using BINDIR.
Mostly submitted by: bde
Diffstat (limited to 'lib/compat/compat21')
-rw-r--r-- | lib/compat/compat21/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/compat/compat21/Makefile b/lib/compat/compat21/Makefile index 8e14110..f7afc41 100644 --- a/lib/compat/compat21/Makefile +++ b/lib/compat/compat21/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.1 1996/12/23 05:07:37 peter Exp $ +# $Id: Makefile,v 1.2 1996/12/23 21:47:28 jkh Exp $ DISTRIBUTION= compat21 @@ -10,13 +10,13 @@ all: ${LIBS} .for lib in ${LIBS} ${lib}: ${lib}.gz.uu - uudecode ${.CURDIR}/${lib}.gz.uu - gunzip ${lib}.gz + uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib} .endfor install: - ${INSTALL} -p -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${LIBS} \ - ${DESTDIR}${BINDIR} + ${INSTALL} ${COPY} -o ${LIBMODE} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \ + ${DESTDIR}${LIBCOMPATDIR} -# Get all the fruit, even though we don't set PROG +# Get all the fruit, even though we don't set PROG. +# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty. .include <bsd.prog.mk> |