1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@
execute_before_dh_autoreconf:
mkdir -p src/config
override_dh_auto_configure:
dh_auto_configure -- --enable-shared
execute_after_dh_auto_build:
# build documentation
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
python3 -m markdown doc/ffms2-api.md \
-x fenced_code -x toc >doc/ffms2-api.html
endif
override_dh_auto_test:
# tests requires to download samples
override_dh_installchangelogs:
dh_installchangelogs doc/ffms2-changelog.md
|