After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692367 - gtkdocize should take a srcdir argument
gtkdocize should take a srcdir argument
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: 1.20
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-23 10:25 UTC by David King
Modified: 2013-08-18 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add srcdir argument (3.92 KB, patch)
2013-01-23 13:54 UTC, David King
committed Details | Review
gtkdocize: Take a --srcdir argument (3.91 KB, patch)
2013-08-18 11:49 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review

Description David King 2013-01-23 10:25:33 UTC
When calling gtkdocize from autogen.sh, it would be useful if it accepted an argument for the directory in which to search for configure.ac and configure.in. autoreconf does this, and can therefore be called from an autogen script like:

autoreconf "$srcdir"

whereas currently for gtkdocize the equivalent is:

topdir=`pwd`
cd "$srcdir"
gtkdocize
cd "$srcdir"
Comment 1 David King 2013-01-23 13:54:44 UTC
Created attachment 234198 [details] [review]
add srcdir argument

The attached patch works for me.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2013-08-18 11:49:32 UTC
The following fix has been pushed:
1401aeb gtkdocize: Take a --srcdir argument
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2013-08-18 11:49:40 UTC
Created attachment 252105 [details] [review]
gtkdocize: Take a --srcdir argument