[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need for a portable way to specify intermediate targets.
From: |
Peter Ekberg |
Subject: |
Need for a portable way to specify intermediate targets. |
Date: |
Wed, 4 Jan 2006 13:15:23 +0100 |
User-agent: |
Mutt/1.5.10i |
Hello!
I have the following needs:
1. Extract some data from a list of files using script foo.
2. Process the data further using a second script bar.
3. Concatenate the processed data.
4. Run a third script foobar on the concatenation to
produce a .c file.
5. Distribute the generated .c file, so that only
the maintainer (me) needs to run 1-4.
6. Use the generated .c file as usual.
I have made an attempt as outlined in the attached sample,
with silly barebones scripts to save some bandwidth.
Run "./bootstrap; ./configure; make" to test the attempt.
My attempt fails the last bit of point 5, the scripts are
triggered for everyone, even when the generated .c file is
newer than any of its dependencies.
The real project where this is needed currently requires
GNU make, and is using the .INTERMEDIATE target, just add
.INTERMEDIATE: $(FOOBARS) splunk.foobar
to Makefile.am and use GNU make to get the behaviour I desire.
Is there a portable solution to my needs?
Cheers,
Peter
splunk-0.1.tar.gz
Description: application/tar-gz
- Need for a portable way to specify intermediate targets.,
Peter Ekberg <=