File: rules

package info (click to toggle)
tp-smapi 0.42-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 248 kB
  • ctags: 301
  • sloc: ansic: 1,999; makefile: 148
file content (18 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

include /usr/share/dpkg/pkg-info.mk

BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)

%:
	dh $@ --with dkms

override_dh_auto_build:
	# pass, we just don't build now

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/tp-smapi-dkms/usr/src/tp_smapi-$(DEB_VERSION_UPSTREAM)
	cp -a Makefile *.c *.h debian/tp-smapi-dkms/usr/src/tp_smapi-$(DEB_VERSION_UPSTREAM)