diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2021-10-22 00:22:09 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2021-10-22 00:22:09 +0900 |
commit | 50706f8e5fcf88f1a607ea1f977c4a8f2ebbf623 (patch) | |
tree | a6d48d43511aca6066691449ba0bbd1493fb56fb /data/Makefile.am | |
parent | 14cf63acdce1b57be50ff94fc316f8f0793d123a (diff) | |
download | ibus-anthy-50706f8e5fcf88f1a607ea1f977c4a8f2ebbf623.tar.gz |
data: Update era.t with 2021
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 5e45c39..d76f17a 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -79,6 +79,15 @@ zipcode.t: $(ANTHY_ZIPCODE_FILE) CLEANFILES += zipcode.t endif +check: + S_YEAR=`date '+%Y'`; \ + M_YEAR=`echo $$S_YEAR | sed 'y/0123456789/0123456789/'`; \ + grep -q $$M_YEAR $(srcdir)/era.t; \ + if test $$? -ne 0 ; then \ + echo "This year $$M_YEAR is not included in era.y"; \ + exit 1; \ + fi; + install-data-hook: if test -z "$(DESTDIR)"; then \ glib-compile-schemas $(schemasdir); \ |