GNOME Bugzilla – Bug 775995
Out of source build currently not possible
Last modified: 2017-01-13 10:01:52 UTC
When using jhbuild to build gnome-battery-bench it currently fails on autogen.sh: /home/gicmo/Code/gnome/gnome-battery-bench/autogen.sh --prefix /opt/gnome --disable-Werror --disable-static --disable-gtk-doc + aclocal --install aclocal: error: 'configure.ac' is required + exit 1 and afterwards on ui resource generation: glib-compile-resources --generate --target gnome-battery-bench.gresource.c /home/gicmo/Code/gnome/gnome-battery-bench/src/gnome-battery-bench.gresource.xml /home/gicmo/Code/gnome/gnome-battery-bench/src/gnome-battery-bench.gresource.xml: Failed to locate “application.ui” in current directory. Makefile:1321: recipe for target 'gnome-battery-bench.gresource.c' failed
Created attachment 341828 [details] [review] Fix out-of-source builds The autogen.sh called autoconf and friends in the current working directory and therfore couldn't find the neccessary files. Additionally for the proper generation of gnome-battery-bench.c we need to include the actual source dir as an source directory.
Review of attachment 341828 [details] [review]: Looks fine
Attachment 341828 [details] pushed as 2515ed2 - Fix out-of-source builds