#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

include /usr/share/dpkg/default.mk
#VERSION ?= $(shell echo $(DEB_VERSION_UPSTREAM) |cut -f 1 -d "-")
DESTDIR = debian/scsi-ep-front-dkms

# main packaging script based on dh7 syntax
%:
	dh $@ --with dkms
	
override_dh_auto_configure:
	dos2unix *

override_dh_install:
	dh_install ep*.* Makefile buildversion usr/src/scsi_ep_front-$(DEB_VERSION)/

override_dh_dkms:
	dh_dkms -V $(DEB_VERSION)

override_dh_auto_build:

override_dh_auto_test:

override_dh_auto_clean:

override_dh_auto_install:

