On Sat, May 22, 2010 at 11:37 PM, Peng Yu <[email protected]> wrote:
> $(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):
unpacked.dirName: dirName.tar.gz
tar xzf $<
@touch $@
You could use a 'define' block to create the rule for each tarball.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make