File: rules

package info (click to toggle)
imagination 3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,460 kB
  • sloc: ansic: 12,955; sh: 4,166; makefile: 376; xml: 61
file content (19 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	SUBSTVARS = -Vdist:Recommends="libavformat-extra-55, libavutil-extra-53"
else
	SUBSTVARS = -Vdist:Recommends="libavformat55, libavutil53"
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)"

override_dh_gencontrol:
	dh_gencontrol -pimagination -- $(SUBSTVARS)
	dh_gencontrol -pimagination-common