aboutsummaryrefslogtreecommitdiffstats
path: root/community/osmo/osmo-0.2.10-build-mo.patch
blob: ac1b9aa235e3ce7872c9b9a85cf3cd58a68aa003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/po/Makefile.am b/po/Makefile.am
index b3c904a..f0ee467 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -16,8 +16,8 @@ all: $(MOFILES)
 
 update-po: $(DOMAIN).pot $(POFILES) $(MOFILES)
 
-%.mo: skip
-	@po=$(@:.mo=.po); if test $$po -nt $@ ; then $(MSGFMT) -c --statistics $$po -o $@; echo "$@ updated."; fi
+%.mo: %.po
+	@$(MSGFMT) -c --statistics $^ -o $@; echo "$@ updated."
 
 %.po: $(DOMAIN).pot
 	$(MSGMERGE) $@ $< -o $@.in && mv $@.in $@
@@ -41,4 +41,3 @@ uninstall-local:
 clean-local:
 	rm -rf *.mo
 
-skip: