Fixed out-of-place builds with autotools (bug #11607)
Nope, not fixed. There are more instances of this bug. You fixed one, but another one stops the show:
make[4]: Entering directory `/home/rulatir/works/CB/build/src/plugins/todo/resources'
make[4]: *** No rule to make target `*.xrc', needed by `todo.zip'. Stop.
make[4]: Leaving directory `/home/rulatir/works/CB/build/src/plugins/todo/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rulatir/works/CB/build/src/plugins/todo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rulatir/works/CB/build/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rulatir/works/CB/build/src'
make: *** [all-recursive] Error 1
A thorough search over ALL zipfile rules seems necessary.
The *.xrc breaks the Mac build, since I build once for PPC and once for X86.
Index: src/plugins/todo/resources/Makefile.am
===================================================================
--- src/plugins/todo/resources/Makefile.am (revision 4351)
+++ src/plugins/todo/resources/Makefile.am (arbetskopia)
@@ -1,7 +1,7 @@
pkgdata_DATA = todo.zip
CLEANFILES = $(pkgdata_DATA)
-EXTRA_DIST = manifest.xml *.xrc
+EXTRA_DIST = manifest.xml $(srcdir)/*.xrc
todo.zip: $(EXTRA_DIST)
PWD=`pwd` cd $(srcdir) && zip $(PWD)/todo.zip manifest.xml *.xrc > /dev/null