summaryrefslogtreecommitdiffstats
path: root/games/fortune
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-22 14:45:23 +0000
committerbde <bde@FreeBSD.org>1996-09-22 14:45:23 +0000
commitb11dd427e09994120c844abf07bb95048b7ab6b6 (patch)
tree4bbeb0b12503b9dac068cf9d791426325e0fbd5e /games/fortune
parente461bbf70be1241a12b5a05c454e29cc5638b254 (diff)
downloadFreeBSD-src-b11dd427e09994120c844abf07bb95048b7ab6b6.zip
FreeBSD-src-b11dd427e09994120c844abf07bb95048b7ab6b6.tar.gz
Fixed annoying non-null output for `make depend'. SRCS should only
be used for C, C++ and assembler sources if <bsd.prog.mk> is included. It was used for general files. This caused the __depend_* lists in <bsd.dep.mk> to be empty, so mkdep was never run, so .depend never existed, so it was always out of date, so `rm -f .depend' was always executed to update it.
Diffstat (limited to 'games/fortune')
-rw-r--r--games/fortune/datfiles/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/fortune/datfiles/Makefile b/games/fortune/datfiles/Makefile
index 5d585fa..aba0e86 100644
--- a/games/fortune/datfiles/Makefile
+++ b/games/fortune/datfiles/Makefile
@@ -1,6 +1,6 @@
# @(#)Makefile 8.2 (Berkeley) 4/19/94
-SRCS= fortunes fortunes2 startrek zippy
+FILES= fortunes fortunes2 startrek zippy
BLDS= fortunes.dat fortunes2.dat startrek.dat zippy.dat \
fortunes-o fortunes-o.dat
@@ -8,7 +8,7 @@ BLDS= fortunes.dat fortunes2.dat startrek.dat zippy.dat \
# LINES AND COMMENT OUT THE FOURTH LINE.
# THE THREE LINES
-SRCS+= fortunes2-o limerick
+FILES+= fortunes2-o limerick
BLDS+= fortunes2-o.dat limerick.dat
TYPE= real
@@ -33,11 +33,11 @@ STRFILE=/usr/games/strfile
CLEANFILES+=${BLDS}
-all: ${SRCS} ${BLDS}
+all: ${FILES} ${BLDS}
install:
(cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${SRCS} ${DESTDIR}/usr/share/games/fortune)
+ ${FILES} ${DESTDIR}/usr/share/games/fortune)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${BLDS} \
${DESTDIR}/usr/share/games/fortune
OpenPOWER on IntegriCloud