Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/pkg-info.mk
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8
9 DKMS_SRC_DIR := $(CURDIR)/debian/lttng-modules-dkms/usr/src/lttng-modules-$(DEB_VERSION_UPSTREAM)
10
11 %:
12 dh $@
13
14 override_dh_dkms:
15 dh_dkms -V ${DEB_VERSION_UPSTREAM}
16
17 override_dh_auto_install:
18 install -d $(DKMS_SRC_DIR)
19 cp -a Makefile extra_version include scripts src $(DKMS_SRC_DIR)
20 dh_auto_install
21
22 override_dh_auto_clean:
23 exit 0
24
25 override_dh_auto_build:
26 exit 0