%% Karthikesh Raju <[EMAIL PROTECTED]> writes:

  kr> Is there any way i can test this once and set a variable and then
  kr> use the corresponding processor for the file. (i guess this is
  kr> dumb on my part, there must be a way!)

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 ...).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to