mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
py-mod.mk: Fix bogus # export match on class {variable}
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6fb6f1608f
commit
90ce1b5196
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ include $(JWBDIR)/make/dirs.mk
|
|||
include $(JWBDIR)/make/dev-utils.mk
|
||||
|
||||
PY_INIT_TMPL = $(wildcard __init__.py.tmpl)
|
||||
PY_SED_EXTRACT_EXPORT ?= /\(\(class\|def\) .\+\|^ *\S\+\s*=.*\)\# *export/ !d; s/\(async\)* *\(class\|def\) *//; s/[(:=].*//
|
||||
PY_SED_EXTRACT_EXPORT ?= /\(\(class\|def\)\s\+[a-zA-Z_].*\|^ *\S\+\s*=.*\)\# *export/ !d; s/\(async\)* *\(class\|def\) *//; s/[(:=].*//
|
||||
|
||||
#leftparen := (
|
||||
#PY_EXPORT ?= $(shell sed '/\(class\|def\) ..*\# *export/ !d; s/\(class\|def\) *//; s/[$(leftparen):].*//' $(PY_SRC_PY))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue