Article View: uw.mfcf.software
Article #366xh-makefile-body - use new xh-check-package-dependencies command
From: jmsellens
Date: Mon, 25 Sep 1989 05:05
Date: Mon, 25 Sep 1989 05:05
24 lines
1226 bytes
1226 bytes
From: John M Sellens <jmsellens>
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.
Technical Details
Message-ID:
<29369@watmath.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!jmsellensShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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