aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert>2004-01-17 21:21:59 (GMT)
committergrubert <grubert>2004-01-17 21:21:59 (GMT)
commitb7c907ccaf8084ef2f34325a769d82f0138682d2 (patch)
tree2ca63e932923c5aa02ece19953afcdf7dfc36842
parent2256912724264d05b8ebb445c099a70aba7fbf22 (diff)
downloadfluxbox_pavel-b7c907ccaf8084ef2f34325a769d82f0138682d2.zip
fluxbox_pavel-b7c907ccaf8084ef2f34325a769d82f0138682d2.tar.bz2
Add Makefile.am and .cvsignore.
-rw-r--r--nls/pl_PL/.cvsignore5
-rw-r--r--nls/pl_PL/Makefile.am40
2 files changed, 45 insertions, 0 deletions
diff --git a/nls/pl_PL/.cvsignore b/nls/pl_PL/.cvsignore
new file mode 100644
index 0000000..3d3e6f8
--- /dev/null
+++ b/nls/pl_PL/.cvsignore
@@ -0,0 +1,5 @@
1.cvsignore
2Makefile
3Makefile.in
4*.cat
5Translation.m
diff --git a/nls/pl_PL/Makefile.am b/nls/pl_PL/Makefile.am
new file mode 100644
index 0000000..52a2d6e
--- /dev/null
+++ b/nls/pl_PL/Makefile.am
@@ -0,0 +1,40 @@
1# nls/de_DE/Makefile.am for Fluxbox - fluxbox.sf.net
2
3THE_LANG = pl_PL
4CODESET = ISO-8859-1
5
6NLSTEST = @NLS@
7CLEANFILES = fluxbox.cat
8MAINTAINERCLEANFILES = Makefile.in Translation.m
9MFILES = 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
10EXTRA_DIST= $(MFILES)
11
12all-local: fluxbox.cat
13
14install-data-local: fluxbox.cat
15 @if test x$(NLSTEST) = "x-DNLS"; then \
16 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
17 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
18 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
19 fi
20
21uninstall-local:
22 @if test x$(NLSTEST) = "x-DNLS"; then \
23 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
24 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
25 fi
26
27# note... when adding new catalogs... you do not need the
28# header=../fluxbox-nls.hh which is passed to awk... we
29# only need to generate it once.
30
31Translation.m: $(MFILES)
32 @if test x$(NLSTEST) = "x-DNLS"; then \
33 rm -f Translation.m; \
34 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
35 fi
36
37fluxbox.cat: Translation.m
38 @if test x$(NLSTEST) = "x-DNLS"; then \
39 $(gencat_cmd) fluxbox.cat Translation.m; \
40 fi