diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0a29892 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +zip: mo + zip - *.py *.inx locale/*/LC_MESSAGES/*.mo > imagemap.zip + +validate: inkscape.extension.rng + xmllint --noout --relaxng inkscape.extension.rng *.inx + +pot: inx.its + xgettext imagemap.inx --its=inx.its -o imagemap.pot + xgettext imagemap.py --package-name=inx.imagemap --copyright-holder=VIATRIX.COMPUTER -jo imagemap.pot + +mo: + for po in locale/*/imagemap.po; do \ + mkdir -p "$${po%/*}/LC_MESSAGES"; \ + msgfmt -o "$${po%/*}/LC_MESSAGES/imagemap.mo" $$po; \ + done + +inx.its: + wget https://gitlab.com/inkscape/translations/-/raw/master/its/inx.its + +inkscape.extension.rng: + wget https://gitlab.com/inkscape/extensions/-/raw/master/inkex/tester/inkscape.extension.rng |
