GNOME Bugzilla – Bug 763078
build: Update autogen.sh from GNOME recommendation
Last modified: 2016-03-16 18:09:27 UTC
Trivial patch attached.
Created attachment 323055 [details] [review] build: Update autogen.sh from GNOME recommendation https://wiki.gnome.org/Projects/GnomeCommon/Migration#autogen.sh This fixes a srcdir ≠ builddir issue.
Review of attachment 323055 [details] [review]: Thanks for the patch, Philip. I trust that you know more about this than me. :) I checked that distcheck still works from a clean git clone.
For interest, I found this by setting the buildroot in my .jhbuildrc, as discussed recently on desktop-devel. Attachment 323055 [details] pushed as 7bf1b3d - build: Update autogen.sh from GNOME recommendation
Created attachment 324120 [details] [review] build: Enable gtk-doc during distcheck The previous version of autogen.sh would always pass --enable-gtk-doc. This is no longer the case, which, I guess, is more idiomatic. However, due to this, one must explicitly pass --enable-gtk-doc when creating tarballs. Otherwise, the documentation will be missing from the tarball. Having --enable-gtk-doc in DISTCHECK_CONFIGURE_FLAGS catches such errors.
(In reply to Debarshi Ray from comment #4) > Created attachment 324120 [details] [review] [review] > build: Enable gtk-doc during distcheck > > The previous version of autogen.sh would always pass --enable-gtk-doc. This > is no longer the case, which, I guess, is more idiomatic. > > However, due to this, one must explicitly pass --enable-gtk-doc when > creating tarballs. Otherwise, the documentation will be missing from the > tarball. Having --enable-gtk-doc in DISTCHECK_CONFIGURE_FLAGS catches such > errors. Looks good to me.