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 568708 - gtkdoc-scan should try not to scan files twice
gtkdoc-scan should try not to scan files twice
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.11
Other Linux
: Normal enhancement
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-22 15:24 UTC by Yeti
Modified: 2009-01-23 08:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (951 bytes, patch)
2009-01-22 15:25 UTC, Yeti
committed Details | Review

Description Yeti 2009-01-22 15:24:46 UTC
I propose that gtkdoc-scan should try to scan each file only
once. This makes possible to have overlapping sets of files
in --source-dirs and EXTRA_HFILES.  And namely, it enables to pass
both --source-dir=$(top_bulddir)/somewhere and
--source-dir=$(top_srcdir)/somewhere even if they might be the same
directory.
Comment 1 Yeti 2009-01-22 15:25:19 UTC
Created attachment 127004 [details] [review]
proposed patch
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-23 08:53:02 UTC
2009-01-23  Stefan Kost  <ensonic@users.sf.net>

	patch by: David Nečas <yeti@physics.muni.cz>

	* gtkdoc-scan.in:
	  Don't scan files twice. The patch was slightly changed to name the
	  hash lowercase (uppercase is used for configureation options) and
	  add a comment. Fixes #568708.