diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index 9b09855af..3393f9207 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -127,4 +127,7 @@ enable_proc: grep "^#define CONFIG_SCST_PROC" $(INCDIR)/iscsi_scst_ver.h >/dev/null rm $(INCDIR)/iscsi_scst_ver.h.aa +release-archive: + ../scripts/generate-release-archive iscsi-scst "$$(sed -n 's/^#define[[:blank:]]ISCSI_VERSION_STRING[[:blank:]]*\"\([^\"]*\)\".*/\1/p' include/iscsi_scst_ver.h)" + .PHONY: all mods progs install clean extraclean 2release 2debug 2perf disable_proc enable_proc diff --git a/qla2x00t/Makefile b/qla2x00t/Makefile index d97bd2430..57a3477d8 100644 --- a/qla2x00t/Makefile +++ b/qla2x00t/Makefile @@ -67,3 +67,6 @@ extraclean: clean .PHONY: all tgt install uninstall clean extraclean endif + +release-archive: + ../scripts/generate-release-archive qla2x00t "$$(sed -n 's/^#define[[:blank:]]Q2T_VERSION_STRING[[:blank:]]*\"\([^\"]*\)\".*/\1/p' qla2x00-target/qla2x00t.h)" diff --git a/scst/Makefile b/scst/Makefile index 98977cc6f..3f1d1b64d 100644 --- a/scst/Makefile +++ b/scst/Makefile @@ -54,6 +54,9 @@ disable_proc: enable_proc: cd $(SCST_DIR) && $(MAKE) $@ +release-archive: + ../scripts/generate-release-archive scst "$$(sed -n 's/^#define[[:blank:]]SCST_VERSION_NAME[[:blank:]]*\"\([^\"]*\)\".*/\1/p' include/scst_const.h)" + help: @echo " all (the default) : make all" @echo " clean : clean files" diff --git a/scst_local/Makefile b/scst_local/Makefile index 156aae5f2..e6024a8b0 100644 --- a/scst_local/Makefile +++ b/scst_local/Makefile @@ -100,5 +100,8 @@ extraclean: clean grep "^#EXTRA_CFLAGS += \-DCONFIG_SCST_DEBUG -g -fno-inline -fno-inline-functions" Makefile >/dev/null rm Makefile.aa +release-archive: + ../scripts/generate-release-archive scst_local "$$(sed -n 's/^#define[[:blank:]]SCST_LOCAL_VERSION[[:blank:]]*\"\([^\"]*\)\".*/\1/p' scst_local.c)" + .PHONY: all tgt install uninstall clean extraclean 2release 2debug 2perf