🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uw.mfcf.software
Article #223

xh-makefile modifications

#223
From: Robyn Landers
Date: Tue, 05 Sep 1989 20:49
20 lines
1494 bytes
Lots of changes to xh-makefile. RCS'ed.
For details, read the comments at beginning of the script (or better yet
read the whole script :-), or wait for forthcoming man pages.

Briefly, the argument <package-name> to xh-makefile is now optional.
If you give the argument then that's the package name, as always.
If the argument is not given, then
if you're cd'ed to either /usr/source/blart or /software/blart
then it assumes 'blart' is the package name.
It also has heuristics for where to look for and/or create if necessary
the Makefile-body.  If there's a source directory then the Makefile-body
goes there, otherwise it goes in the installation directory.
(If you have a Makefile-body in the installation directory and there 
exists a source directory, it will move the Makefile-body to the source
directory automatically.  For backwards compatibility.)
The Makefile always goes in the installation directory.
Messages are given if it thinks you're not doing the right thing or if
it is making assumptions for you.
One last trick - if it can't find Makefile-body in source or
installation directories it looks in current directory.
Technical Details
Message-ID: <28902@watmath.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!rblanders

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!rblanders
From: rblanders@watmath.waterloo.edu (Robyn Landers)
Newsgroups: uw.mfcf.software
Subject: xh-makefile modifications
Keywords: optional argument, heuristics
Message-ID: <28902@watmath.waterloo.edu>
Date: 5 Sep 89 20:49:53 GMT
Distribution: uw
Organization: U of Waterloo, Ontario
Lines: 20