Error in make file



The following is a fragment of my Makefile (GNU Make 3.81).

I believe the error stems from the grep (line) but I don't know why it
errors.

PKGLIST is a list of sub directories to "grep the Build.Log" looking for
compile and installation errors.

This is the error:

make: *** [errors] Error 1

Makefile fragment

PKGLIST = Linux-API-Headers Man-pages Glibc

errors:
for dir in $(PKGLIST); do \
echo "Checking: "$$dir; \
grep Error $$dir/Build.Log; \
done

Anyone know the fix?

--
Dancin in the ruins tonight
Tayo'y Mga Pinoy
.



Relevant Pages

  • Re: Finding options for ports
    ... >> grep WITH Makefile ... > When there are ten different ways to skin a cat, ...
    (freebsd-questions)
  • Re: Finding options for ports
    ... >> grep WITH Makefile ... > When there are ten different ways to skin a cat, ...
    (freebsd-questions)
  • Re: List all make targets?
    ... > Is there a 'make' flag to list all make targets for any given directory ... grep ':' Makefile ...comes pretty close. ... An IDE would simply provide a graphic front end that invokes the make commands ...
    (freebsd-questions)
  • Re: grep "${@F}"
    ... I am using old makefile made for OSF, inside of make is the following ... grep "$" filename ... which is the filename part of the target ...
    (comp.unix.shell)
  • Re: A globbing question
    ... I'm trying to figure out how to "glob" lists instead of the current ... This fragment will print all the filenames started with 'a' in the ... Perhaps you are looking for grep: ...
    (comp.lang.perl.misc)