summaryrefslogblamecommitdiffstats
path: root/etc/xdg/xdg-xebian/Thunar/po/Makefile
blob: 98f928bc6242f2aeb3b0f1ed2e97a8e4c923e041 (plain) (tree)





















                                                                             
#!/usr/bin/make -f

POTFILES := uca.xml.in

all: generate-uca

generate-pot: POTFILES.in
	intltool-update --pot --gettext-package=thunar-uca

generate-uca:
	for i in $(POTFILES); do \
		f=$$(echo $$i | sed 's/\.in//'); \
		intltool-merge -x . ../$$i ../$$f; \
	done

update-po:
	for i in *.po; do \
		code=$$(echo $$i | sed 's/.po//'); \
		intltool-update --gettext-package=thunar-uca --dist $$code; \
	done

# vim:ts=4