diff options
Diffstat (limited to 'nls/fr_FR/Makefile.am')
-rw-r--r-- | nls/fr_FR/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nls/fr_FR/Makefile.am b/nls/fr_FR/Makefile.am new file mode 100644 index 0000000..91c9f01 --- /dev/null +++ b/nls/fr_FR/Makefile.am | |||
@@ -0,0 +1,33 @@ | |||
1 | # nls/fr_FR/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/fr_FR"; \ | ||
13 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | ||
14 | $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | ||
15 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ | ||
16 | ln -fs fr_FR $(DESTDIR)$(pkgdatadir)/nls/fr; \ | ||
17 | fi | ||
18 | uninstall-local: | ||
19 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
20 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr_FR/blackbox.cat; \ | ||
21 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ | ||
22 | rmdir $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | ||
23 | fi | ||
24 | |||
25 | Translation.m: $(MFILES) | ||
26 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
27 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | ||
28 | fi | ||
29 | |||
30 | blackbox.cat: Translation.m | ||
31 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
32 | $(gencat_cmd) blackbox.cat Translation.m; \ | ||
33 | fi | ||