1 # nls/it_IT/Makefile.am for Openbox
4 CLEANFILES = openbox.cat
5 MAINTAINERCLEANFILES = Makefile.in Translation.m
6 DISTCLEANFILES = Translation.m
7 MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdir@/Icon.m @srcdir@/Image.m @srcdir@/Screen.m @srcdir@/Slit.m @srcdir@/Toolbar.m @srcdir@/Window.m @srcdir@/Windowmenu.m @srcdir@/Workspace.m @srcdir@/Workspacemenu.m @srcdir@/openbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
10 install-data-local: openbox.cat
11 @if test x$(NLSTEST) = "x-DNLS"; then \
12 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/it_IT"; \
13 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
14 $(INSTALL_DATA) openbox.cat $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
15 rm -f $(DESTDIR)$(pkgdatadir)/nls/it; \
16 ln -f -s it_IT $(DESTDIR)$(pkgdatadir)/nls/it; \
19 @if test x$(NLSTEST) = "x-DNLS"; then \
20 rm -f $(DESTDIR)$(pkgdatadir)/nls/it_IT/openbox.cat; \
21 rm -f $(DESTDIR)$(pkgdatadir)/nls/it; \
22 rmdir $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
25 Translation.m: $(MFILES)
26 @if test x$(NLSTEST) = "x-DNLS"; then \
27 awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
30 openbox.cat: Translation.m
31 @if test x$(NLSTEST) = "x-DNLS"; then \
32 $(gencat_cmd) openbox.cat Translation.m; \