From b11dd427e09994120c844abf07bb95048b7ab6b6 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 22 Sep 1996 14:45:23 +0000 Subject: Fixed annoying non-null output for `make depend'. SRCS should only be used for C, C++ and assembler sources if is included. It was used for general files. This caused the __depend_* lists in 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. --- games/fortune/datfiles/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'games') 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 -- cgit v1.1