gdbus-codegen: Fix issue with docbook generation
commit93042e00529107c0d89e530401b9daef65a03de0
authorIñigo Martínez <inigomartinez@gmail.com>
Wed, 24 Jan 2018 15:25:09 +0000 (24 16:25 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Wed, 31 Jan 2018 22:12:51 +0000 (31 22:12 +0000)
tree00631aab674481ac4b73d1703abd7d80dec3bde2
parent382d13b6181b66bd9b842c30742c444f30004c79
gdbus-codegen: Fix issue with docbook generation

In cases where gdbus-codegen is used only for docbook generation,
the execution stops with the following error message:

  `Using --header or --body requires --output`

This is because it was assumed that, in addition to the docbook
generation, the header or source code were always generated.

This patch fixes this, and the header or source code generation
is not mandatory, so the docbook can be generated separately.

https://bugzilla.gnome.org/show_bug.cgi?id=791015
gio/gdbus-2.0/codegen/codegen_main.py