##############################################################################
# This software is distributed under the terms of the General Public License.
#
# Program :   kastrolog 5.4 beta 3
# Authors : see the AUTHORS file
# E-Mail  : Llyra@altavista.com
############################################################################## 


MSGP=fr.po

# Beyond this line, you shouldn't modify this file, unless you understand 
# whar you do.

MSGM=$(subst .po,.mo,$(MSGP))
MSG= $(subst .po,,$(MSGP))

all: $(MSGM)

%.po:
	cat cpp$@ c$@ > $@

%.mo: %.po
	msgfmt $< -o $@

$(MSGM):
$(MSGP):

install: all
	for i in $(MSG); do echo cp $$i.mo $$KDEDIR/share/locale/$$i/LC_MESSAGES/kastrolog.mo; done

clean:
	rm *.mo
	for i in $(MSGP); do rm $$i; done
