mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 09:14:40 +00:00
trivial: disable gtkdoc by default
Since https://fwupd.github.io is now a thing, people can be directed there rather than relying upon locally built documentation by default. Also this will mean one less dependency to install for people who build from source. Lastly this finally means that I can do this set of actions without failure: ``` meson build ninja -C build ninja -C build install (PK prompts for password) rm -rf build ``` Previously gtkdoc stuff was built as root due to the PK prompt and removing it would lead to stuff like this: ``` rm: cannot remove 'build/docs/libfwupd/html/libfwupd-FwupdClient.html': Permission denied ```
This commit is contained in:
parent
71d2f62dc2
commit
805f7990f3
@ -8,7 +8,7 @@ eval "$(dpkg-buildflags --export=sh)"
|
|||||||
export LDFLAGS=$(dpkg-buildflags --get LDFLAGS | sed "s/-Wl,-Bsymbolic-functions\s//")
|
export LDFLAGS=$(dpkg-buildflags --get LDFLAGS | sed "s/-Wl,-Bsymbolic-functions\s//")
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
meson build --werror -Dman=false
|
meson build --werror -Dman=false -Dgtkdoc=true
|
||||||
#build with clang and -Werror
|
#build with clang and -Werror
|
||||||
ninja -C build test -v
|
ninja -C build test -v
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ override_dh_auto_configure:
|
|||||||
else \
|
else \
|
||||||
export FLASHROM="-Dplugin_flashrom=false"; \
|
export FLASHROM="-Dplugin_flashrom=false"; \
|
||||||
fi; \
|
fi; \
|
||||||
dh_auto_configure -- $$UEFI $$DELL $$FLASHROM $$CI -Dplugin_dummy=true --libexecdir=/usr/lib
|
dh_auto_configure -- $$UEFI $$DELL $$FLASHROM $$CI -Dplugin_dummy=true -Dgtkdoc=true --libexecdir=/usr/lib
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
find debian/tmp/usr -type f -name "*a" -print | xargs rm -f
|
find debian/tmp/usr -type f -name "*a" -print | xargs rm -f
|
||||||
|
@ -3,7 +3,7 @@ option('agent', type : 'boolean', value : true, description : 'enable the fwupd
|
|||||||
option('consolekit', type : 'boolean', value : true, description : 'enable ConsoleKit support')
|
option('consolekit', type : 'boolean', value : true, description : 'enable ConsoleKit support')
|
||||||
option('firmware-packager', type : 'boolean', value : true, description : 'enable firmware-packager installation')
|
option('firmware-packager', type : 'boolean', value : true, description : 'enable firmware-packager installation')
|
||||||
option('gpg', type : 'boolean', value : true, description : 'enable the GPG verification support')
|
option('gpg', type : 'boolean', value : true, description : 'enable the GPG verification support')
|
||||||
option('gtkdoc', type : 'boolean', value : true, description : 'enable developer documentation')
|
option('gtkdoc', type : 'boolean', value : false, description : 'enable developer documentation')
|
||||||
option('introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data')
|
option('introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data')
|
||||||
option('lvfs', type : 'boolean', value : true, description : 'enable LVFS remotes')
|
option('lvfs', type : 'boolean', value : true, description : 'enable LVFS remotes')
|
||||||
option('man', type : 'boolean', value : true, description : 'enable man pages')
|
option('man', type : 'boolean', value : true, description : 'enable man pages')
|
||||||
|
Loading…
Reference in New Issue
Block a user