Macro expansion of shell metacharacters did not occur for me. I made

a :sh variable to get the list of magic files instead.
This commit is contained in:
mjacob 1997-05-17 21:15:35 +00:00
parent cf463415ec
commit 9c69077919
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 1997/04/03 07:17:24 mikel Exp $
# $NetBSD: Makefile,v 1.13 1997/05/17 21:15:35 mjacob Exp $
FILESDIR= /etc
FILES= magic
@ -13,10 +13,11 @@ MAN= file.1 magic.5
CLEANFILES+= magic
all: file magic
MAGDIRF:sh= echo $(.CURDIR)/magdir/[0-9a-z]*
MAGFILES= $(.CURDIR)/magdir/Header \
$(.CURDIR)/magdir/Localstuff \
$(.CURDIR)/magdir/netbsd \
$(.CURDIR)/magdir/[0-9a-z]*
${MAGDIRF}
magic: $(MAGFILES)
cat $(MAGFILES) > $(.TARGET)