move shared build instructions for nls into a common file

This commit is contained in:
Mathias Gumz 2014-02-19 18:13:27 +01:00
parent 559947186e
commit 121bd23862
34 changed files with 73 additions and 1320 deletions

View file

@ -4,43 +4,4 @@ THE_LANG = be_BY
SRC_CODESET = CP1251
DEST_CODESETS = CP1251 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = bg_BG
SRC_CODESET = CP1251
DEST_CODESETS = CP1251 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = cs_CZ
SRC_CODESET = ISO-8859-2
DEST_CODESETS = ISO-8859-2 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = da_DK
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = de_AT
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = de_CH
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = de_DE
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = el_GR
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = en_GB
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = en_US
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = es_AR
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = es_ES
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = et_EE
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = fi_FI
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = fr_CH
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = fr_FR
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = he_IL
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = it_IT
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = ja_JP
SRC_CODESET = eucJP
DEST_CODESETS = eucJP UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = ko_KR
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8 EUC-KR
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = lv_LV
SRC_CODESET = ISO-8859-13
DEST_CODESETS = ISO-8859-13 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = mk_MK
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = nb_NO
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = nl_NL
SRC_CODESET = ISO-8859-15
DEST_CODESETS = ISO-8859-15 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

40
nls/nls.mk Normal file
View file

@ -0,0 +1,40 @@
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi

View file

@ -4,43 +4,4 @@ THE_LANG = no_NO
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = pl_PL
SRC_CODESET = ISO-8859-2
DEST_CODESETS = ISO-8859-2 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = pt_BR
SRC_CODESET = UTF-8
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = pt_PT
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = ru_RU
SRC_CODESET = KOI8-R
DEST_CODESETS = KOI8-R UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = sk_SK
SRC_CODESET = UTF-8
DEST_CODESETS = ISO-8859-2 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = sl_SI
SRC_CODESET = ISO-8859-2
DEST_CODESETS = ISO-8859-2 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = sv_SE
SRC_CODESET = ISO-8859-1
DEST_CODESETS = ISO-8859-1 UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk

View file

@ -4,43 +4,4 @@ THE_LANG = zh_TW
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# 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)
@if test x$(NLSTEST) = "x-DNLS"; then \
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; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* $(srcdir)/Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat $(srcdir)/generated-$*.m; \
fi
include $(top_srcdir)/nls/nls.mk