Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 DH_VERBOSE = 1
5
6 # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7 DPKG_EXPORT_BUILDFLAGS = 1
8 include /usr/share/dpkg/default.mk
9
10 # see FEATURE AREAS in dpkg-buildflags(1)
11 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12
13 # see ENVIRONMENT in dpkg-buildflags(1)
14 # package maintainers to append CFLAGS
15 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
16 # package maintainers to append LDFLAGS
17 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
18
19 # Use dpkg 1.16.1 or later.
20 include /usr/share/dpkg/pkg-info.mk
21 version := $(DEB_VERSION_EPOCH_UPSTREAM)
22
23 # main packaging script based on dh7 syntax
24 %:
25 dh $@
26
27 build:
28
29 override_dh_auto_clean:
30
31 override_dh_auto_build:
32
33 override_dh_auto_test:
34
35 override_dh_auto_install:
36 $(MAKE) DESTDIR=$(CURDIR)/debian/digimend-dkms dkms_source_install xorg_conf_install tools_install
37 install -D -m 0644 xorg.conf $(CURDIR)/debian/digimend-dkms/etc/X11/xorg.conf.d/50-digimend.conf
38
39 override_dh_dkms:
40 dh_dkms -p digimend-dkms -V -- dkms.conf