From ca4026b34ab8cc32dbe49c3a6272aa01733baf12 Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Mon, 31 Oct 2016 12:23:51 +0100 Subject: [PATCH] Generate docbook file for the homescreen.xml introspection file. Signed-off-by: Bocklage, Jens --- interfaces/homescreen.xml | 14 +++++++++++++- libhomescreen/libhomescreen.pro | 9 ++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/interfaces/homescreen.xml b/interfaces/homescreen.xml index 1a9d7f9..023f54b 100644 --- a/interfaces/homescreen.xml +++ b/interfaces/homescreen.xml @@ -13,9 +13,21 @@ See the License for the specific language governing permissions and limitations under the License. --> + + - + diff --git a/libhomescreen/libhomescreen.pro b/libhomescreen/libhomescreen.pro index b488e90..47d1c32 100644 --- a/libhomescreen/libhomescreen.pro +++ b/libhomescreen/libhomescreen.pro @@ -35,9 +35,16 @@ gen_proxy_skeleton_c.output = ${QMAKE_FILE_IN_BASE}.c gen_proxy_skeleton_c.variable_out = SOURCES gen_proxy_skeleton_c.clean = ${QMAKE_FILE_IN_BASE}.c - QMAKE_EXTRA_COMPILERS += gen_proxy_skeleton_h gen_proxy_skeleton_c + +gen_docbook.target = doc +gen_docbook.commands = \ + gdbus-codegen --generate-docbook doc $$PWD/../interfaces/homescreen.xml + +QMAKE_EXTRA_TARGETS += gen_docbook +PRE_TARGETDEPS += doc + # remove generated files QMAKE_CLEAN += -r \ $$OUT_PWD/* -- 2.16.6