2004-06-20 13:48:46 +00:00
|
|
|
# nls/nl_NL/Makefile.am for Fluxbox - www.fluxbox.org
|
2003-12-18 01:00:02 +00:00
|
|
|
|
|
|
|
THE_LANG = nl_NL
|
2006-05-20 15:08:14 +00:00
|
|
|
SRC_CODESET = ISO-8859-15
|
|
|
|
DEST_CODESETS = ISO-8859-15 UTF-8
|
2003-12-18 01:00:02 +00:00
|
|
|
|
2005-05-18 08:33:29 +00:00
|
|
|
LOCALE_PATH = @LOCALE_PATH@
|
2003-12-18 01:00:02 +00:00
|
|
|
NLSTEST = @NLS@
|
2004-06-20 13:48:46 +00:00
|
|
|
MFILES = Translation.m
|
2006-05-20 15:08:14 +00:00
|
|
|
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
|
|
|
|
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
|
2003-12-18 01:00:02 +00:00
|
|
|
|
2006-05-20 15:08:14 +00:00
|
|
|
# We distribute the generated files so that users don't need iconv
|
|
|
|
EXTRA_DIST= $(MFILES) $(GENERATED_MFILES)
|
|
|
|
CLEANFILES = $(CATFILES)
|
|
|
|
|
|
|
|
all-local: $(CATFILES)
|
|
|
|
install-data-local: $(CATFILES)
|
2004-06-20 14:16:14 +00:00
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
2006-05-20 15:08:14 +00:00
|
|
|
for codeset in $(DEST_CODESETS); do \
|
|
|
|
echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}"; \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
|
|
|
|
$(INSTALL_DATA) fluxbox-$${codeset}.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
|
|
|
|
done; \
|
2004-06-20 14:16:14 +00:00
|
|
|
fi
|
2003-12-18 01:00:02 +00:00
|
|
|
|
2006-05-20 15:08:14 +00:00
|
|
|
# not part of the normal build process
|
|
|
|
translations: $(GENERATED_MFILES)
|
|
|
|
|
|
|
|
generated-%.m: Translation.m
|
|
|
|
iconv -f $(SRC_CODESET) -t $* Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
|
|
|
|
|
2003-12-18 01:00:02 +00:00
|
|
|
uninstall-local:
|
2004-06-20 14:16:14 +00:00
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
2006-05-20 15:08:14 +00:00
|
|
|
for codeset in $(DEST_CODESETS); do \
|
|
|
|
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
|
|
|
|
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
|
|
|
|
done; \
|
2004-06-20 14:16:14 +00:00
|
|
|
fi
|
2003-12-18 01:00:02 +00:00
|
|
|
|
2006-05-20 15:08:14 +00:00
|
|
|
fluxbox-%.cat: generated-%.m Translation.m
|
2004-06-20 14:16:14 +00:00
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
2006-05-20 15:08:14 +00:00
|
|
|
echo "Creating catfile for $*"; \
|
|
|
|
$(gencat_cmd) fluxbox-$*.cat generated-$*.m; \
|
2004-06-20 14:16:14 +00:00
|
|
|
fi
|