summaryrefslogtreecommitdiff
blob: 9fa724efe8b0e0cc26dddd208782cf7ac9bbba6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig	2006-07-07 12:35:52.000000000 +0300
+++ Makefile	2006-07-07 13:00:35.000000000 +0300
@@ -87,7 +87,9 @@
 			mkdir -p "$(DESTDIR)$(PREFIX)/share/locale/$$d"; \
 		fi; \
 	done
-	${MAKE} -C po install PREFIX=$(PREFIX)
+	if [[  -n $$(find po -name *.mo) ]]; then \
+		${MAKE} -C po install PREFIX=$(PREFIX) ; \
+	fi
 	cp COPYING "$(DESTDIR)$(PREFIX)/share/gajim/";
 	cp THANKS "$(DESTDIR)$(PREFIX)/share/gajim/";
 	mkdir -p "$(DESTDIR)$(PREFIX)/share/pixmaps";