--- nono/Makefile 2026/04/29 17:05:07 1.1.1.6 +++ nono/Makefile 2026/04/29 17:05:39 1.1.1.10 @@ -20,7 +20,7 @@ .include "Makefile.cfg" -.if "${.MAKE.OS}" == "NetBSD" || "${.MAKE.OS}" == "Linux" +.if "${.MAKE.OS}" == "NetBSD" WAIT_HERE = .WAIT .endif @@ -30,13 +30,14 @@ SUBDIR_WX= wx .endif SUBDIR= lib debugger ${WAIT_HERE} \ - m680x0 fpe m88xx0 vm host ${SUBDIR_PO} ${WAIT_HERE} \ + m680x0 fpe m88xx0 hd64180 vm host ${SUBDIR_PO} ${WAIT_HERE} \ cli ${SUBDIR_WX} # .pot を作る .PHONY: pot pot: - xgettext -d nono -o - -k_ --from-code utf-8 -s `cat po/POTFILES` |\ - awk -f po/header.awk - > po/nono.pot + xgettext --default-domain=nono --output=- --keyword=_ \ + --add-comments=TRANSLATORS: --from-code=utf-8 \ + -s `cat po/POTFILES` | perl po/format.pl - > po/nono.pot .include