File: rules

package info (click to toggle)
pitivi 0.999-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 24,912 kB
  • sloc: python: 23,282; ansic: 2,847; sh: 249; makefile: 21; xml: 19
file content (31 lines) | stat: -rwxr-xr-x 637 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
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk
include /usr/share/python/python.mk

export MAKE = ninja -v

configure_flags += \
		--disable-silent-rules \
		$(NULL)

%:
	dh $@ --with python3 --without pysupport

override_dh_python3:
	dh_python3
	dh_python3 /usr/lib/$(DEB_TARGET_MULTIARCH)/pitivi/python/pitivi

override_dh_auto_configure:
	mkdir -p deb-build && meson --buildtype plain --prefix /usr . deb-build

override_dh_auto_build:
	$(MAKE) -C deb-build all

override_dh_auto_clean:
	rm -rf deb-build
	dh_auto_clean

override_dh_auto_install:
	DESTDIR=$(CURDIR)/debian/pitivi $(MAKE) -C deb-build install
	dh_auto_install