On Tue Mar 20 2012 08:47:29 GMT+0100 (CET), Ralph Lange
<[email protected]> wrote:
> You can also try creating the dependencies correctly, e.g. by putting
>
> $(COMMON_DIR)/%.db$(RAW)$(DEP): %.substitutions
> @$(RM) $@
> $(PERL) -e 'undef $$/; $$_=<>;
> @d=m/(?:^|})\s*file\s+\"?([^\"{\s]*)\s*\{/mg; print
> "$(COMMON_DIR)/$*.db$(RAW): @d\n";' $< > [email protected]
> $(MV) [email protected] $@
>
> or something functionally equivalent into your RULES file.
>
> Amazing how perl turns everything into an obvious one-liner, isn't it?
:-)
Yes, it is a one-liner: please remove the additional line breaks my
mailer added (for clarity?).
~Ralph
- References:
- Build problem with db dependencies Bruce Hill
- RE: Build problem with db dependencies Emma Shepherd
- Re: Build problem with db dependencies Ralph Lange
- Navigate by Date:
- Prev:
Re: Build problem with db dependencies Ralph Lange
- Next:
BOY: Macro for workspace directory? Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Build problem with db dependencies Ralph Lange
- Next:
RE: Build problem with db dependencies Gougnaud Françoise
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|