GNOME Bugzilla – Bug 656658
gtk-doc.make: install target doesn't install docs when building in a separate directory
Last modified: 2011-08-16 16:53:45 UTC
The 'install' target fails to install docs with the following message: -- Nothing to install when the build is being done in a separate directory. To reproduce: cd /some/app/with/gtkdoc mkdir build; cd build ../configure --enable-gtk-doc make install As expected, gtk-doc builds HTML files in ./doc/html/ but then refuses to find them. I guess lhe following is responsible: @installfiles=`echo $(srcdir)/html/*` which looks for the generated data in $(srcdir) instead of $(builddir).
Created attachment 193956 [details] [review] Look for generated docs in $(builddir) instead Attaching the patch that fixes the issue for me.
which version of gtk-doc are you using?
Hmm the change makes total sense. Wonder how this got overlooked. Also applied the fix to the other makefile. Thanks!
Comment on attachment 193956 [details] [review] Look for generated docs in $(builddir) instead Also applied same change in gtk-doc.notmpl.make