aboutsummaryrefslogtreecommitdiff
path: root/nls/es_AR/Makefile.am
diff options
context:
space:
mode:
authormarkt <markt>2006-08-04 05:42:44 (GMT)
committermarkt <markt>2006-08-04 05:42:44 (GMT)
commiteba4a0e38d9c869eb740eaab403e13a1e13242af (patch)
treefc00d2c07c1c0de820c03cf99bac183f4ef3d701 /nls/es_AR/Makefile.am
parentd415ee463c5c2cda22709cc341bf97c6f4d1c9ed (diff)
downloadfluxbox_pavel-eba4a0e38d9c869eb740eaab403e13a1e13242af.zip
fluxbox_pavel-eba4a0e38d9c869eb740eaab403e13a1e13242af.tar.bz2
updated spanish translations, added es_AR
Diffstat (limited to 'nls/es_AR/Makefile.am')
-rw-r--r--nls/es_AR/Makefile.am46
1 files changed, 46 insertions, 0 deletions
diff --git a/nls/es_AR/Makefile.am b/nls/es_AR/Makefile.am
new file mode 100644
index 0000000..7d07481
--- /dev/null
+++ b/nls/es_AR/Makefile.am
@@ -0,0 +1,46 @@
1# nls/es_AR/Makefile.am for Fluxbox - www.fluxbox.org
2
3THE_LANG = es_AR
4SRC_CODESET = ISO-8859-15
5DEST_CODESETS = ISO-8859-15 UTF-8
6
7LOCALE_PATH = @LOCALE_PATH@
8NLSTEST = @NLS@
9MFILES = Translation.m
10GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
11MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
12CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
13
14# We distribute the generated files so that users don't need iconv
15EXTRA_DIST= $(MFILES) $(GENERATED_MFILES)
16CLEANFILES = $(CATFILES)
17
18all-local: $(CATFILES)
19install-data-local: $(CATFILES)
20 @if test x$(NLSTEST) = "x-DNLS"; then \
21 for codeset in $(DEST_CODESETS); do \
22 echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}"; \
23 $(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
24 $(INSTALL_DATA) fluxbox-$${codeset}.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
25 done; \
26 fi
27
28# not part of the normal build process
29translations: $(GENERATED_MFILES)
30
31generated-%.m: Translation.m
32 iconv -f $(SRC_CODESET) -t $* Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
33
34uninstall-local:
35 @if test x$(NLSTEST) = "x-DNLS"; then \
36 for codeset in $(DEST_CODESETS); do \
37 rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
38 rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
39 done; \
40 fi
41
42fluxbox-%.cat: generated-%.m Translation.m
43 @if test x$(NLSTEST) = "x-DNLS"; then \
44 echo "Creating catfile for $*"; \
45 $(gencat_cmd) fluxbox-$*.cat generated-$*.m; \
46 fi