##################################################################
#   Copyright © 2004, Sebastian Heutling. All rights reserved.
#   $Id: Makefile,v 1.13 2004/11/05 23:07:51 basti Exp $
#
#   Descr. : Makefile for the kkeymanconfig
#   Authors: Sebastian Heutling, sheutlin@gmx.de
##################################################################
TOP := ../../..
include $(TOP)/config/make.tmpl
include ../../config/make.cfg
DOMAIN  := kkeymanconfig
FILES   := de fr
OBJECTS := $(foreach f, $(FILES), $(f).mo)
cleanobjects := $(OBJECTS)

all: $(OBJECTS)

$(eval $(call compile_locales))
$(eval $(call clean,,$(cleanobjects)))
$(eval $(call distclean,,$(cleanobjects)))

install:
	@$(foreach f, $(FILES), $(INSTALL) -d $(DESTDIR)$(datadir)/locale/$(f)/LC_MESSAGES && ) true
	@$(foreach f, $(FILES), $(INSTALL_DATA) $(f).mo $(DESTDIR)$(datadir)/locale/$(f)/LC_MESSAGES/$(DOMAIN).mo && ) true

