Hi,
> Sure; use the $(shell ...) function.
>
> TEXSYSTEM := $(shell if <need processing>; then echo latex; else echo pdftex; fi)
>
> See the GNU make documentation for more info on := and $(shell ...).
>
Works but still it complains. like this:
define something
TEXSYSTEM := $(shell if <need processing>; then echo latex; else echo pdftex; fi)
echo ${TEXSYSTEM}
endef
complains with the following warning:
TEXSYSTEM := latex
make: TEXSYSTEM: Command not found
make: *** [HutDetails.ps] Error 127
looks like TEXSYSTEM is set, but the very next echo does give you an
error. Am i missing any piece of the puzzle. (reading the manual too, but
looks like it is in some fineprint, i cant see)
Thanks in advance,
Best wishes,
karthik
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make