File: rules

package info (click to toggle)
lives 3.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,608 kB
  • sloc: ansic: 185,093; cpp: 15,316; perl: 9,398; python: 7,181; sh: 5,379; makefile: 1,676; yacc: 291; sed: 16
file content (26 lines) | stat: -rwxr-xr-x 772 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
26
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_CFLAGS_MAINT_APPEND = -fcommon

%:
	dh $@ --with=python3

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -type f -name "*.la" -delete
	cd debian/tmp/usr/share/doc/lives-$(DEB_VERSION_UPSTREAM) && \
		rm \
			ChangeLog \
			FEATURES \
			AUTHORS
	find debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lives -type d -empty -delete
	find debian/tmp/usr/share/lives -type d -empty -delete
	chmod a-x \
		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lives/plugins/effects/realtime/weed/data/fourKlives/songs/*.txt

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3
	dh_python3 --shebang=/usr/bin/python3 /usr/lib/$(DEB_HOST_MULTIARCH)/lives/plugins/encoders