blob: 937051a24fb0facc70428e4b2db43e3a970a0c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# nls/es_ES/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = es_ES
CODESET = ISO-8859-15
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m fluxbox.m common.m main.m bsetroot.m
EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/es; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi
|