[Gimp-docs] Make broken
Ulf-D. Ehlert
ude88 at web.de
Mon Jul 9 05:36:43 PDT 2007
Hi Roman,
Am Montag, 9. Juli 2007 schrieb Roman Joost:
[...]
> > Fix/workaround: Replace every "MKDIR_P" with "mkdir_p" in
> > Makefile.am and quickreference/Makefile.am and re-run autogen.sh.
>
> I rerun autogen and did a lookup on my generated Makefile. There is a
> MKDIR_P and a mkdir_p variable. I wonder which one is the correct
> one. Maybe that has something todo with an old automake/conf-whatever
> version?
My automake version is 1.9.5 (Mar/2005), so it seems that "mkdir_p" is
the old one, "MKDIR_P" the new one. [1]
[...]
> > I tried to replace
> > xml/%.xml: src/gimp.xml stylesheets/profile.xsl
> > with
> > xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(filter-out
> > $$@, $(XML_FILES))
>
> What's this workaround doing?
Adding all XML files except src/gimp.xml ('$$@' is wrong - it "removes"
xml/en.xml from the file list -, it should read 'src/gimp.xml') as
prerequisites for the target xml/en.xml. If you change a source file
now, xml/en.xml will be rebuilt.
Probably better (cleaner) solution:
Add
XML_FILES_INCLUDED := $(shell cd $(top_srcdir) && find
src -name '*.xml' -not -name 'gimp.xml')
or
XML_FILES_INCLUDED := $(filter-out src/gimp.xml,$(XML_FILES))
after "XML_FILES := ..." and use
xml/%.xml: src/gimp.xml stylesheets/profile.xsl
$(XML_FILES_INCLUDED)
Just tested, seems to work.
But obviously there's something wrong with the index/xrefs/whatever
dependencies...
Ulf
[1] Please read http://freshmeat.net/articles/view/889/ ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20070709/cec70de4/attachment.bin
More information about the Gimp-docs
mailing list