Set correct locale for sed(1) in the root Makefile.
This commit is contained in:
parent
f8d63d558f
commit
1e8830a950
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ TOCRLF = unix2dos -q
|
||||
FIND_VCSDIR = -type d -name '.git' -prune
|
||||
|
||||
NUMDATE = $(shell date '+%Y/%m/%d')
|
||||
CNDATE = $(shell date '+%Y年%-m月' | sed 'y/0123456789/〇一二三四五六七八九/')
|
||||
CNDATE = $(shell date '+%Y年%-m月' | LANG=zh_CN.UTF-8 sed 'y/0123456789/〇一二三四五六七八九/')
|
||||
|
||||
VER_GEN = $(if $(MINORVER),$(MAJORVER)$(1)$(MINORVER),$(MAJORVER))
|
||||
PROJECT = $(TITLE)-$(call VER_GEN,)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user