[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change certain rules such that they will not executed as long
Re: How to change certain rules such that they will not executed as long as the target is available?
Sun, 23 May 2010 01:24:41 +0200
On Sat, May 22, 2010 at 11:37 PM, Peng Yu <address@hidden>
$(DIRS): %: %.tar.gz
tar xzvf $<
One approach would be to touch a dummy file and change the deps (and cleanup rules) to use that.
Something like this (untested):
tar xzf $<
You could use a 'define' block to create the rule for each tarball.
----- stephan beal