diff options
Diffstat (limited to 'nls/sv_SE/Makefile.am')
-rw-r--r-- | nls/sv_SE/Makefile.am | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nls/sv_SE/Makefile.am b/nls/sv_SE/Makefile.am new file mode 100644 index 0000000..b1706c3 --- /dev/null +++ b/nls/sv_SE/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | # nls/sv_SE/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | ||
2 | |||
3 | NLSTEST = @NLS@ | ||
4 | CLEANFILES = blackbox.cat | ||
5 | MAINTAINERCLEANFILES = Makefile.in Translation.m | ||
6 | 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 blackbox.m common.m main.m bsetroot.m | ||
7 | EXTRA_DIST=$(MFILES) | ||
8 | |||
9 | all-local: blackbox.cat | ||
10 | install-data-local: blackbox.cat | ||
11 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
12 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/sv_SE"; \ | ||
13 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \ | ||
14 | $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \ | ||
15 | fi | ||
16 | uninstall-local: | ||
17 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
18 | rm -f $(DESTDIR)$(pkgdatadir)/nls/sv_SE/blackbox.cat; \ | ||
19 | rmdir $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \ | ||
20 | fi | ||
21 | |||
22 | Translation.m: $(MFILES) | ||
23 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
24 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | ||
25 | fi | ||
26 | |||
27 | blackbox.cat: Translation.m | ||
28 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
29 | $(gencat_cmd) blackbox.cat Translation.m; \ | ||
30 | fi | ||