1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
# -*- makefile -*-
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
%:
dh $@ --with sphinxdoc
override_dh_auto_configure:
dh_auto_configure -- \
-DWITH_AVCODEC=1 \
-DWITH_EXIV2=1 \
-DWITH_FFMPEGTHUMBNAILER=1 \
-DWITH_MYSQL=1 \
-DWITH_SYSTEMD=0
# The documentation used to not get built within the CMake script, so it must be built
# manually. Future packagers should consider using upstream CMake doc target.
override_dh_auto_build:
dh_auto_build
python3 -m sphinx -b html doc doc/_build/html
|