File: rules

package info (click to toggle)
ffms2 5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,000 kB
  • sloc: cpp: 6,513; ansic: 385; makefile: 164; perl: 85; sh: 22
file content (25 lines) | stat: -rwxr-xr-x 527 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
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