You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
484 B
23 lines
484 B
8 months ago
|
#!/usr/bin/make -f
|
||
|
|
||
|
POTFILES := $(shell cat POTFILES.in)
|
||
|
|
||
|
all: generate-po-files
|
||
|
|
||
|
generate-pot: POTFILES.in
|
||
|
intltool-update --pot --gettext-package=calamares-settings-ubuntuunity
|
||
|
|
||
|
generate-po-files:
|
||
|
for i in $(POTFILES); do \
|
||
|
f=$$(echo $$i | sed 's/\.in//'); \
|
||
|
intltool-merge -d . ../$$i ../$$f; \
|
||
|
done
|
||
|
|
||
|
update-po:
|
||
|
for i in *.po; do \
|
||
|
code=$$(echo $$i | sed 's/.po//'); \
|
||
|
intltool-update --gettext-package=calamares-settings-ubuntuunity --dist $$code; \
|
||
|
done
|
||
|
|
||
|
# vim:ts=4
|