help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: var used by implicit rule


From: Paul D. Smith
Subject: Re: var used by implicit rule
Date: Thu, 24 Jun 2004 12:11:02 -0400

%% Ken Smith <address@hidden> writes:

  ks> I understand now.  How can I specify rules for tools such as
  ks> latex2html which produce numerous output files?  latex2html
  ks> produces WARNINGS, index.html, internals.pl, labels.pl,
  ks> input_file_name.html, and input_file_name.css from
  ks> input_file_name.tex.  I have only found a use for the HTML output
  ks> bearing the same basename as the input TeX file and wish to treat
  ks> the others as intermediate.

Maybe the easiest thing to do is just delete them inside the rule that
creates them, if you never want to keep them:

    %.html %.css : %.tex
            latex2html $<
            @rm -f WARNINGS index.html internals.pl labels.pl

or whatever?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]