File: rules

package info (click to toggle)
herbstluftwm 0.8.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,456 kB
  • sloc: cpp: 16,312; python: 4,060; sh: 958; ansic: 578; makefile: 73
file content (20 lines) | stat: -rwxr-xr-x 661 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export BUILD_DATE = $(shell date -u -d@$(SOURCE_DATE_EPOCH) +"%Y-%m-%d")
PYTEST_VERSION = $(shell python3 -c 'import sys ; print("py" + "".join([str(i) for i in sys.version_info[:2]]))')

%:
	dh $@ --buildsystem=cmake

override_dh_auto_install:
	dh_auto_install --buildsystem=cmake
	rm -f $(CURDIR)/debian/herbstluftwm/usr/share/doc/herbstluftwm/INSTALL

override_dh_auto_test:
#	(cd obj-* ; python3 -m pytest --log-cli-level=DEBUG -x ../tests/test_layout.py::test_dump_frame_index)
	(cd obj-* ; python3 -m pytest -x ../tests)


override_dh_installwm:
	dh_installwm --priority=20 herbstluftwm