glib/docs/reference/gio
Matthias Clasen 87d76a5a9c glib-compile-resources: generate .d-file style dependency
Add --dependency-file=foo.d option to generate a gcc -M -MF style
dependency file for other build tools. The current output of
--generate-dependencies is only useful for use directly in Makefile
rules, but can't be used in other build systems like that.

The generated dependency file looks like this:
$ glib-compile-resources --sourcedir= test.gresource.xml --dependency-file=-
test.gresource.xml: test1.txt test2.txt test2.txt

test1.txt:

test2.txt:

test2.txt:

Unlike --generate-dependencies, the --dependency-file option can be
used together with other --generate options to create dependencies
as side-effect of generating sources.

Based on a patch by Tim-Philipp Müller in
https://bugzilla.gnome.org/show_bug.cgi?id=745754

The changes in this patch, compared to his are to always return
the hash table with file information from parse_resource_file, so
we can use it for dependency output, regardless if generate_dependencies
was TRUE or not.
2016-08-20 16:49:24 -04:00
..
.gitignore .gitignore updates for gsettings stuff 2010-04-27 17:04:57 -04:00
gapplication.xml New gapplication(1) tool 2013-10-17 10:12:27 -04:00
gdbus-codegen.xml docs: trivial typo fixes 2016-07-16 20:32:16 -04:00
gdbus.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
gio-docs.xml Document the gio tool 2016-07-01 16:01:34 -04:00
gio-querymodules.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
gio-sections.txt Add async variant of g_app_info_launch_default_for_uri 2016-07-26 16:05:29 -04:00
gio.types gio: Add DTLS interfaces 2016-01-18 14:25:06 +00:00
gio.xml Document the gio tool 2016-07-01 16:01:34 -04:00
glib-compile-resources.xml glib-compile-resources: generate .d-file style dependency 2016-08-20 16:49:24 -04:00
glib-compile-schemas.xml docs: Document the --strict option of glib-compile-schemas 2015-04-08 06:38:16 -04:00
gresource.xml docs: minor formatting fixes to the gresource man page 2013-06-29 22:46:38 -04:00
gsettings.xml gsettings tool: Improve documentation 2013-07-16 19:21:31 -04:00
gvfs-overview.odg update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
gvfs-overview.png update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
Makefile.am Ship gio.xml in tarballs 2016-07-20 10:54:52 +02:00
menu-example.png Add GMenuModel 2011-12-08 18:05:12 -05:00
menu-model.png Add GMenuModel 2011-12-08 18:05:12 -05:00
migrating-gconf.xml Drop a broken link 2013-01-01 10:25:07 -05:00
migrating-gdbus.xml docs: trivial typo fixes 2016-07-16 20:32:16 -04:00
migrating-gnome-vfs.xml Add a migration chapter for dbus bits 2010-05-06 17:58:29 -04:00
migrating-posix.xml Remove duplicate copies of migration docs 2010-05-27 13:07:54 -04:00
overview.xml Trivial: documentation wording fix 2016-06-30 08:58:41 -04:00
version.xml.in gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00