On Wed, 19 Feb 2003, Rafael Laboissiere wrote:
> In doing my last changes, I noticed that in many Makefiles.am, constructs
> like @MATWRAP@ and @MKOCTFILE@ are used. This is bad practice. Use
> $(MATWRAP) and $(MKOCTFILE) instead, which is the standard, advised style.
I agree. A lot of those crept through from the old way of doing things, and
I appreciate your willingness to clean it up, and I will try not to make
more problems like this.
Another part of the form I believe we should be careful of is continuations
(especially in lists). I noticed one or two problems with that recently. I
don't know whether these were leftovers from the old days or something that
had been recently introduced in error. The old Makefile standard was always
to continue with a "space \" at the end of the line followed by a tab at the
start of the continued line. It doesn't matter to GNU make, but I believe
it may be important to maintain this old continuation style for
cross-platform use. For 5.1.0 we demanded everybody use GNU make, but with
the autotools approach our users are supposed to be able to use native make
again, and some versions may have this constraint on their continuation
style. This of course would not matter if automake parsed and massaged the
continuations, but I don't think it does. Last time I looked it just passed
them through with the continuation style imposed in the Makefile.am file.
Alan
__________________________
Alan W. Irwin
email: ir...@be...
phone: 250-727-2902
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the Canadian Centre for Climate Modelling and
Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software
package (plplot.org).
__________________________
Linux-powered Science
__________________________
|