scst: Also install the build_mode.h header file

Reported-by: Steven Siwinski <steve-atto@users.sourceforge.net>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9173 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-10-21 03:37:50 +00:00
parent 2fb10fb2ff
commit 70fd08dde6
5 changed files with 7 additions and 2 deletions

1
debian/copyright vendored
View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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