Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32:staging
mingw32-dbus-1
0002-cmake-Add-missing-docbook-based-documentat...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-cmake-Add-missing-docbook-based-documentation.patch of Package mingw32-dbus-1
From 07747d19eec5a21e42380b300eb85863e719022d Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 2 Apr 2024 12:48:35 +0200 Subject: [PATCH 2/3] cmake: Add missing docbook-based documentation With this commit, the documentation for dbus-faq, dbus-specification, dbus-test-plan, dbus-tutorial is now also created. --- doc/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index db93daec..95ba6da2 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -125,7 +125,11 @@ macro(add_docbook _target) set(STYLESHEET "${DOCBOOKXSL_DIR}/manpages/docbook.xsl") set(INSTALL_DIR ${CMAKE_INSTALL_DATADIR}/man/man${ARGS_MAN_CATEGORY}) else() - set(_outname "${_target}.${ARGS_MAN_CATEGORY}.html") + if (NOT ARGS_MAN_CATEGORY) + set(_outname "${_target}.html") + else() + set(_outname "${_target}.${ARGS_MAN_CATEGORY}.html") + endif() set(STYLESHEET "${DOCBOOKXSL_DIR}/html/docbook.xsl") set(INSTALL_DIR ${CMAKE_INSTALL_DATADIR}/doc/dbus) endif() @@ -185,6 +189,10 @@ add_docbook(dbus-send TEMPLATE dbus-send.1.xml.in MAN_CATEGORY 1 FORMATS ${forma add_docbook(dbus-test-tool TEMPLATE dbus-test-tool.1.xml.in MAN_CATEGORY 1 FORMATS ${formats}) add_docbook(dbus-uuidgen TEMPLATE dbus-uuidgen.1.xml.in MAN_CATEGORY 1 FORMATS ${formats}) add_docbook(dbus-update-activation-environment TEMPLATE dbus-update-activation-environment.1.xml.in MAN_CATEGORY 1 FORMATS ${formats}) +add_docbook(dbus-faq SOURCE dbus-faq.xml FORMATS ${formats}) +add_docbook(dbus-specification SOURCE dbus-specification.xml FORMATS ${formats}) +add_docbook(dbus-test-plan SOURCE dbus-test-plan.xml FORMATS ${formats}) +add_docbook(dbus-tutorial SOURCE dbus-tutorial.xml FORMATS ${formats}) # # handle html index file -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor