Path: utzoo!utgpu!watmath!jmsellens
From: jmsellens@watmath.waterloo.edu
Newsgroups: uw.mfcf.software
Subject: xh-makefile-body - use new xh-check-package-dependencies command
Message-ID: <29369@watmath.waterloo.edu>
Date: 25 Sep 89 05:05:27 GMT
Sender: jmsellens@watmath.waterloo.edu
Reply-To: jmsellens@watmath.waterloo.edu
Distribution: uw
Lines: 24

From: John M Sellens 

This used to be in every Makefile-body:
# if $(package_dependencies) is empty,
#  then the following section should be deleted
	@-for name in $(package_dependencies); do\
		if [ ! -d ${Software}/$${name} ]; then \
			echo "The $${name} package is required for the proper";\
			echo "  operation of this package; please install it.";\
		fi \
	done

and has now been replaced by
	xh-check-package-dependencies $(package-dependencies)

That for is ugly, uses @, uses - (both very despicable things to use in
a Makefile), caused ugly things like this:
    *** Error code 1
     (ignored)
to appear in the middle of nowhere, and was yet one more thing to customize
in a Makefile-body.

Man page created in /software/xhier/man/man8.  As xhier has no source
directory, this was all done under /software/xhier.