File: rules

package info (click to toggle)
xr-hardware 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 220 kB
  • sloc: python: 244; makefile: 40
file content (22 lines) | stat: -rwxr-xr-x 601 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
#!/usr/bin/make -f

# Copyright 2020 Collabora, Ltd
# SPDX-License-Identifier: BSL-1.0
# Author: Rylie Pavlik <rylie.pavlik@collabora.com>

# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
# export DH_VERBOSE = 1

export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)

%:
	dh $@

# Regular clean deletes a committed generated file.
override_dh_auto_clean:
	$(MAKE) clean_package
	-rm -rf $(CURDIR)/xrhardware/__pycache__

override_dh_auto_install:
	# skip auto install, just install the named file to avoid needing root.