From b7c907ccaf8084ef2f34325a769d82f0138682d2 Mon Sep 17 00:00:00 2001
From: grubert <grubert>
Date: Sat, 17 Jan 2004 21:21:59 +0000
Subject: Add Makefile.am and .cvsignore.

---
 nls/pl_PL/.cvsignore  |  5 +++++
 nls/pl_PL/Makefile.am | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 nls/pl_PL/.cvsignore
 create mode 100644 nls/pl_PL/Makefile.am

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 @@
+.cvsignore
+Makefile
+Makefile.in
+*.cat
+Translation.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 @@
+# nls/de_DE/Makefile.am for Fluxbox - fluxbox.sf.net
+
+THE_LANG = pl_PL
+CODESET = ISO-8859-1
+
+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); \
+	fi
+
+uninstall-local:
+	@if test x$(NLSTEST) = "x-DNLS"; then \
+		rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
+		rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
+	fi
+
+# note... when adding new catalogs... you do not need the
+# header=../fluxbox-nls.hh which is passed to awk... we
+# only need to generate it once.
+
+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 \
+		$(gencat_cmd) fluxbox.cat Translation.m; \
+	fi
-- 
cgit v0.11.2