mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Automate release archive generation
This patch makes it easier to generate the release archives that can be downloaded from http://scst.sourceforge.net/downloads.html. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4679 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user