
Proper file extensions help 'copyright header checker' find files that should contain copyright info. Extensions also clearly indicate file type, and help to fit in with the file naming convention. Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
39 lines
850 B
Makefile
Executable File
39 lines
850 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
#
|
|
# Copyright(c) 2020-2022 Intel Corporation
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# output every command that modifies files on the build system
|
|
#export DH_VERBOSE = 1
|
|
|
|
%:
|
|
dh $@ --with dkms
|
|
|
|
override_dh_auto_configure:
|
|
|
|
override_dh_auto_build:
|
|
(cd tools/; ./cas_version_gen.sh build)
|
|
<MAKE_BUILD>
|
|
|
|
override_dh_auto_install:
|
|
(cd casadm; make install_files DESTDIR="$(shell pwd)/debian/tmp")
|
|
(cd utils; make install_files DESTDIR="$(shell pwd)/debian/tmp")
|
|
# clean and generate version again before installing sources for DKMS
|
|
make distclean
|
|
(cd tools/; ./cas_version_gen.sh)
|
|
|
|
override_dh_dkms:
|
|
dh_dkms -V $(DEB_VERSION_UPSTREAM)
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --no-start
|
|
|
|
override_dh_strip:
|
|
<DEBUG_PACKAGE>
|
|
|
|
override_dh_missing:
|
|
|
|
override_dh_gencontrol:
|
|
dh_gencontrol -- -Vkver="$(shell uname -r)"
|