diff options
author | fluxgen <fluxgen> | 2001-12-11 20:47:02 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-11 20:47:02 (GMT) |
commit | 18830ac9add80cbd3bf7369307d7e35a519dca9b (patch) | |
tree | 4759a5434a34ba317fe77bbf8b0ed9bb57bb6018 /nls/C/Makefile.am | |
parent | 1523b48bff07dead084af3064ad11c79a9b25df0 (diff) | |
download | fluxbox-18830ac9add80cbd3bf7369307d7e35a519dca9b.zip fluxbox-18830ac9add80cbd3bf7369307d7e35a519dca9b.tar.bz2 |
Initial revision
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r-- | nls/C/Makefile.am | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am new file mode 100644 index 0000000..be588ad --- /dev/null +++ b/nls/C/Makefile.am | |||
@@ -0,0 +1,46 @@ | |||
1 | # nls/C/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 | all-local: blackbox.cat | ||
9 | install-data-local: blackbox.cat | ||
10 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \ | ||
12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \ | ||
13 | $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \ | ||
14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | ||
15 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | ||
16 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | ||
17 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | ||
18 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ | ||
19 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/en_US; \ | ||
20 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \ | ||
21 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/en; \ | ||
22 | fi | ||
23 | uninstall-local: | ||
24 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
25 | rm -f $(DESTDIR)$(pkgdatadir)/nls/C/blackbox.cat; \ | ||
26 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | ||
27 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | ||
28 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ | ||
29 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \ | ||
30 | rmdir $(DESTDIR)$(pkgdatadir)/nls/C; \ | ||
31 | fi | ||
32 | |||
33 | # note... when adding new catalogs... you do not need the | ||
34 | # header=../blackbox-nls.hh which is passed to awk... we | ||
35 | # only need to generate it once. | ||
36 | |||
37 | Translation.m: $(MFILES) | ||
38 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
39 | awk -f ../convert.awk header=../blackbox-nls.hh \ | ||
40 | output=Translation.m $(MFILES); \ | ||
41 | fi | ||
42 | |||
43 | blackbox.cat: Translation.m | ||
44 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
45 | $(gencat_cmd) blackbox.cat Translation.m; \ | ||
46 | fi | ||