Re: Make broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/  ;-)

Attachment: pgpZDW3Zf6toT.pgp
Description: PGP signature

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux