head	1.2;
access;
symbols
	HORDE_2_0_RC3:1.2
	HORDE_2_0:1.2
	HORDE_2_0_RC2:1.2
	RELENG_2:1.2.0.2
	HORDE_2_0_0_RC1:1.2;
locks; strict;
comment	@# @;


1.2
date	2001.08.28.22.43.59;	author max;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.04.18.28.52;	author chuck;	state Exp;
branches;
next	;


desc
@@


1.2
log
@ignore messages.po when building translations
@
text
@# Turba .mo files makefile
#
# $Horde: horde/po/Makefile,v 1.1 2001/07/04 18:28:52 chuck Exp $ 
#

APPLICATION = horde
MSGFMT = msgfmt --statistics -c -v -o
MSGCOMM = msgcomm --more-than=0 -s -o -

all: install

install: *.po
	@@for LOCALE in `ls *.po | sed 's/\..*//g'`; do \
		if test $${LOCALE}.po = "messages.po"; then \
			continue; \
		fi; \
		echo "Compiling locale $${LOCALE}:"; \
		if ./shtool mkdir -p ../locale/$${LOCALE}/LC_MESSAGES; then \
			if ${MSGFMT} ../locale/$${LOCALE}/LC_MESSAGES/${APPLICATION}.mo $${LOCALE}.po; then \
				echo "  ... done"; \
				echo; \
			else \
				echo "  ... FAILED"; \
				echo; \
			fi \
		else \
			echo "Could not create locale directory for $${LOCALE}."; \
		fi \
	done;
@


1.1
log
@Add Horde locale Makefile and .mo files
@
text
@d3 1
a3 1
# $Horde: turba/po/Makefile,v 1.2 2001/07/04 18:22:24 chuck Exp $ 
d14 3
@

