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:
parent
4a0c096331
commit
bc23a8c122
1
Makefile
1
Makefile
@ -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
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user