From 70fd08dde6d8e3d178312e5f22542eb9b01990c8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 21 Oct 2020 03:37:50 +0000 Subject: [PATCH] scst: Also install the build_mode.h header file Reported-by: Steven Siwinski git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9173 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- debian/copyright | 1 + debian/scst-dev.install | 1 + scst-dkms.spec.in | 1 + scst.spec.in | 1 + scst/src/Makefile | 5 +++-- 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/copyright b/debian/copyright index ce26c70bf..25f2f543c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -200,6 +200,7 @@ License: GPL-2+ Files: scst/Makefile scst/include/backport.h + scst/include/build_mode.h scst/include/scst.h scst/include/scst_const.h scst/include/scst_debug.h diff --git a/debian/scst-dev.install b/debian/scst-dev.install index 30b0020dd..f01ddca32 100644 --- a/debian/scst-dev.install +++ b/debian/scst-dev.install @@ -1,5 +1,6 @@ usr/include/scst/Module.symvers usr/include/scst/backport.h +usr/include/scst/build_mode.h usr/include/scst/scst.h usr/include/scst/scst_const.h usr/include/scst/scst_debug.h diff --git a/scst-dkms.spec.in b/scst-dkms.spec.in index ccacdcbbb..1ed6bf987 100644 --- a/scst-dkms.spec.in +++ b/scst-dkms.spec.in @@ -248,6 +248,7 @@ true %dir /usr/include/scst /usr/include/scst/Module.symvers /usr/include/scst/backport.h +/usr/include/scst/build_mode.h /usr/include/scst/scst.h /usr/include/scst/scst_const.h /usr/include/scst/scst_debug.h diff --git a/scst.spec.in b/scst.spec.in index 005495823..45d29552b 100644 --- a/scst.spec.in +++ b/scst.spec.in @@ -197,6 +197,7 @@ rm -rf /usr/local/include/scst %dir /usr/include/scst /usr/include/scst/Module.symvers /usr/include/scst/backport.h +/usr/include/scst/build_mode.h /usr/include/scst/scst.h /usr/include/scst/scst_const.h /usr/include/scst/scst_debug.h diff --git a/scst/src/Makefile b/scst/src/Makefile index f07778186..30337d3bc 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -106,8 +106,9 @@ install: all $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ CONFIG_MODULE_SIG_ALL= modules_install install -d $(INSTALL_DIR_H) - header_files="backport.h scst.h scst_const.h scst_debug.h \ - scst_itf_ver.h scst_sgv.h scst_user.h"; \ + header_files="backport.h build_mode.h scst.h scst_const.h \ + scst_debug.h scst_itf_ver.h scst_sgv.h \ + scst_user.h"; \ for h in $${header_files}; do \ install -m 644 ../include/$$h $(INSTALL_DIR_H); \ done