File: rules

package info (click to toggle)
terminator 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,740 kB
  • sloc: python: 9,968; sh: 24; makefile: 15
file content (25 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download | duplicates (4)
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
# -*- makefile -*-
#export DH_VERBOSE=1

export PYBUILD_TEST_ARGS = --doctest-modules

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build/
	rm -f data/terminator.desktop
	rm -f data/terminator.metainfo.xml
	rm -f po/.intltool-merge-cache
	find . -name '*.pyc' -delete

override_dh_auto_install:
	dh_auto_install
	# Remove cache files that should not be included in package
	# Upstream will remove this
	find debian/terminator/usr/share/icons -name "*.cache" -delete

override_dh_auto_test:
	xvfb-run dh_auto_test