Blob Blame History Raw
diff -up ./Makefile.translation ./Makefile
--- ./Makefile.translation	2015-10-05 00:41:05.000000000 +1000
+++ ./Makefile	2015-10-06 17:06:42.633307106 +1000
@@ -54,7 +54,13 @@ default: all
 	[ -d "${DISTDIR}" ] || mkdir "${DISTDIR}"
 	$(MAKE) -C "${BUILDDIR}" -f "${SRCDIR}/Makefile.build" "$@" SRCDIR="${SRCDIR}" BUILDDIR="${BUILDDIR}" DISTDIR="${DISTDIR}" DESTDIR="${DESTDIR}"
 
+po-files=$(shell find . -name '*.po')
+mo-files=$(subst po,mo,$(po-files))
+update-mo: ${mo-files}
+
+
 share/locale/zero-install.pot: $(SH)
+	touch $@
 	xgettext --sort-by-file --language=Shell -j --output=$@ $(SH)
 
 update-po: share/locale/zero-install.pot
@@ -73,4 +79,4 @@ clean:
 	rm -rf build
 	rm -rf dist
 
-.PHONY: update-po check-po clean default
+.PHONY: update-po update-mo check-po clean default