mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
scstadmin: Leave out "r" from RPM revision number
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+3
-3
@@ -3,9 +3,9 @@ ifndef PREFIX
|
||||
endif
|
||||
|
||||
REVISION ?= $(shell if svn info >/dev/null 2>&1; \
|
||||
then svn info | sed -n 's/^Revision:[[:blank:]]*/r/p';\
|
||||
else echo -n r; git log | grep -c ^commit; \
|
||||
fi)
|
||||
then svn info | sed -n 's/^Revision:[[:blank:]]*//p';\
|
||||
else git log | grep -c ^commit; \
|
||||
fi)
|
||||
VERSION = $(shell echo -n "$$(sed -n 's/^[[:blank:]]*\$$VERSION[[:blank:]]*=[[:blank:]]*[\"'"'"']\([0-9.]*\)[\"'"'"'];$$/\1/p' scstadmin/scst-*/lib/SCST/SCST.pm).$(REVISION)")
|
||||
|
||||
SCSTADMIN_DIR = $(shell if [ ! -h scstadmin ]; then \
|
||||
|
||||
Reference in New Issue
Block a user