1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-10-31 22:47:05 +01:00

Take version from VERSION

Preparation for pip

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-10-16 21:23:52 +02:00
parent 4a0c096331
commit bc23a8c122
3 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ SYSCONFDIR ?= /etc
all: gpio-wait all: gpio-wait
sed -i -r -e "s@(^SYSCONFDIR = ').*('$$)@\1$(SYSCONFDIR)\2@" doorlockd sed -i -r -e "s@(^SYSCONFDIR = ').*('$$)@\1$(SYSCONFDIR)\2@" doorlockd
sed -i -r -e "s@(^PREFIX = ').*('$$)@\1$(PREFIX)\2@" doorlockd sed -i -r -e "s@(^PREFIX = ').*('$$)@\1$(PREFIX)\2@" doorlockd
sed -i -r -e "s@(^__version__ = ').*('$$)@\1$(shell cat VERSION)\2@" doorlockd
gpio-wait: gpio-wait.c gpio-wait: gpio-wait.c

1
VERSION Normal file
View File

@ -0,0 +1 @@
v2.0rc2

View File

@ -36,7 +36,7 @@ __license__ = 'GPLv2'
__email__ = 'ralf@binary-kitchen.de' __email__ = 'ralf@binary-kitchen.de'
__status__ = 'Development' __status__ = 'Development'
__maintainer__ = 'Ralf Ramsauer' __maintainer__ = 'Ralf Ramsauer'
__version__ = '2.0-rc2' __version__ = '0.0'
log_level = logging.DEBUG log_level = logging.DEBUG
date_fmt = '%Y-%m-%d %H:%M:%S' date_fmt = '%Y-%m-%d %H:%M:%S'