#!/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)
