W dniu 2014-08-13 15:21, Rico Beier pisze:
It is a list of NAME, ID, which is processed by a script which checks
the Name with the online-name-to-the-id and then downloads the file. It
should be possible to allow those kind of dynamic outputs. Think of
uncompressing a compressed file...

Just use Makefile to do this first step. It's much easier to leave tup only for compilation. Things like generation of unknown number of files with unknown names just don't fit tup and it's compilation model - personally I don't see a big problem in it, because - as I said numerous times - this can easily be done with Makefile or whatever tool you have (doxygen, ...), and these steps don't make much sense in tup anyway... This is of course just my personal opinion, you may or may not agree. Make has spoiled us with it's features that go far beyond compilation, but tup is just for compilation/building - there is no install, uninstall, clean, package or whatever (probably some of these steps can actually be done with tup).

For example something like that in your Makefile would work:

.do_first_step: list.txt
        # complicated step that does the initial download etc.
        # ...
        # ...
        # ...
        # ...
        # ...
        # ...
        touch .do_first_step

all: .do_first_step
        tup

Regards,
FCh

--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to