Don't include ${DESTDIR} in paths in LINKS.

This commit is contained in:
mycroft 1993-08-10 00:02:45 +00:00
parent 290f423b45
commit 6589884799
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1993/08/02 17:41:21 mycroft Exp $
# $Id: Makefile,v 1.4 1993/08/10 00:03:15 mycroft Exp $
PROG= grep
SRCS= dfa.c grep.c getopt.c kwset.c obstack.c regex.c search.c
@ -6,8 +6,8 @@ CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \
-DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \
-DHAVE_VALLOC=1
LINKS+= ${DESTDIR}${BINDIR}/grep ${DESTDIR}${BINDIR}/egrep \
${DESTDIR}${BINDIR}/grep ${DESTDIR}${BINDIR}/fgrep
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep
MLINKS= grep.1 egrep.1 grep.1 fgrep.1
check: all

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.3 (Berkeley) 5/12/90
# $Id: Makefile,v 1.3 1993/08/01 05:42:42 mycroft Exp $
# $Id: Makefile,v 1.4 1993/08/10 00:02:45 mycroft Exp $
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
@ -7,9 +7,9 @@ SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
MAN1= gzexe.0 gzip.0 zdiff.0 zforce.0 zmore.0 znew.0
CFLAGS+=-DASMV -DHAVE_UNISTD_H=1 -DDIRENT=1
MLINKS= gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/gunzip
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/gzcat
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/zcat
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
LINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
afterinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \