projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use ``DESTDIR''. Make the world safe for distributions!
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
pc0
/
Makefile
diff --git
a/usr/src/usr.bin/pascal/pc0/Makefile
b/usr/src/usr.bin/pascal/pc0/Makefile
index
330f0df
..
98279ef
100644
(file)
--- a/
usr/src/usr.bin/pascal/pc0/Makefile
+++ b/
usr/src/usr.bin/pascal/pc0/Makefile
@@
-1,6
+1,6
@@
-SCCSID = "@(#)Makefile 1.1
2
%G%"
+SCCSID = "@(#)Makefile 1.1
3
%G%"
WHOAMI = pc
WHOAMI = pc
-INSTALLNAME = /usr/lib/pc0
+INSTALLNAME =
$(DESTDIR)
/usr/lib/pc0
VERSION = 2.0
MKSTR = /usr/ucb/mkstr
VERSION = 2.0
MKSTR = /usr/ucb/mkstr
@@
-13,7
+13,7
@@
LDFLAGS = -z
SRCDIR = /usr/src/cmd/pc0
INSTALLDIR = /usr/ucb
SRCDIR = /usr/src/cmd/pc0
INSTALLDIR = /usr/ucb
-LIBDIR = /usr/lib
+LIBDIR =
${DESTDIR}
/usr/lib
TMPDIR = tmp
ERRORSTRINGS = pi2.0strings
TMPDIR = tmp
ERRORSTRINGS = pi2.0strings
@@
-92,7
+92,6
@@
clean:
${RM} version Version.c
${RM} a.out core *.list *.bak
${RM} opc.c opc pic tags
${RM} version Version.c
${RM} a.out core *.list *.bak
${RM} opc.c opc pic tags
- sccs clean
print: sources
@pr makefile READ_ME
print: sources
@pr makefile READ_ME
@@
-106,7
+105,6
@@
print: sources
@pr yy.h yy*.c
install: a.out
@pr yy.h yy*.c
install: a.out
- sccs check
cp ${ERRORSTRINGS} ${LIBDIR}/${ERRORSTRINGS}
cp ${INSTALLDIR}/pi ${INSTALLDIR}/pi.bak
cp a.out ${INSTALLDIR}/pi
cp ${ERRORSTRINGS} ${LIBDIR}/${ERRORSTRINGS}
cp ${INSTALLDIR}/pi ${INSTALLDIR}/pi.bak
cp a.out ${INSTALLDIR}/pi