File: rules

package info (click to toggle)
ffms2 2.40%2Bgit20211209-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 904 kB
  • sloc: cpp: 6,690; ansic: 384; makefile: 152; perl: 85; sh: 22
file content (23 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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

override_dh_auto_build:
	dh_auto_build
	python3 -m markdown doc/ffms2-api.md \
		-x fenced_code -x toc >doc/ffms2-api.html

override_dh_auto_test:
	# tests requires to download samples

override_dh_installchangelogs:
	dh_installchangelogs doc/ffms2-changelog.md