Add fileio_tgt and scstadmin release-archive Makefile target (merge r4732, 4733 and 4734 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-01-13 17:54:44 +00:00
parent c16b9c2b3d
commit 8424f516a6
2 changed files with 6 additions and 0 deletions

View File

@@ -128,4 +128,7 @@ enable_proc:
-rm -f scstadmin
ln -s scstadmin.procfs scstadmin
release-archive:
../scripts/generate-release-archive scstadmin "$$(sed -n 's/^\$$Version[[:blank:]]*=[[:blank:]]*'"'"'SCST Configurator v\([^'"'"']*\)'"'"'.*/\1/p' scstadmin.sysfs/scstadmin)"
.PHONY: all install uninstall perl-module clean distclean extraclean disable_proc enable_proc

View File

@@ -115,4 +115,7 @@ perf2debug:
@cmp Makefile Makefile.aa >/dev/null; if [[ $$? = 0 ]]; then rm Makefile.aa; echo "sed failed: wrong original state?"; false; fi
rm Makefile.aa
release-archive:
../../scripts/generate-release-archive fileio_tgt "$$(sed -n 's/^#define[[:blank:]]VERSION_STR[[:blank:]]*\"\([^\"]*\)\".*/\1/p' fileio.c)"
.PHONY: all install uninstall clean extraclean debug2release release2debug debug2perf perf2debug