File: Makefile

package info (click to toggle)
monkeysign 2.2.4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,400 kB
  • sloc: python: 3,219; makefile: 147; sh: 12
file content (7 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
# we strip the obsoleted entries from the template, otherwise they are naively copied in
*.po: messages.pot
	msgattrib --no-obsolete $< | msgmerge -U $@ -

messages.pot: ../monkeysign/cli.py ../monkeysign/gtkui.py ../monkeysign/ui.py ../monkeysign/gpg.py
	pygettext -k_ -kN_ -D -o $@ $^
	xgettext -k_ -kN_ -L Python -j -o $@ $^