GNOME Bugzilla – Bug 688409
make install fails when valadoc is disabled
Last modified: 2012-11-21 11:57:18 UTC
Created attachment 229063 [details] [review] Proposed patch When using the --disable-valadoc flag, doing a "make install" fails with errors. See below for the output. I attached a proposed patch to fix this. make install-data-hook make[6]: Entering directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc/reference/librygel-core' /bin/mkdir -p /bin/mkdir: missing operand Try `/bin/mkdir --help' for more information. make[6]: *** [install-data-hook] Error 1 make[6]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc/reference/librygel-core' make[5]: *** [install-data-am] Error 2 make[5]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc/reference/librygel-core' make[4]: *** [install-am] Error 2 make[4]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc/reference/librygel-core' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc/reference' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/xxx/home:xxx:rygel/rygel17/rygel-0.17.1'
Wouldn't this prevent the documentation from being installed when building from a tarball? Note that the generated html is distributed in the tarball, so you don't need --enable-valadoc in that case.
Created attachment 229487 [details] [review] Proposed patch - v2 You're right. I attached a new proposed patch that fixes the build when installing from the tarball: the RYGEL_GTKDOC_INSTALL_DIR variable was not initialized. This does not fix errors when installing from non-tarball with the --disable-valadoc flag, but this case is less critical and you can probably go faster than me to find what's going on.