]> icculus.org git repositories - dana/openbox.git/blob - nls/it_IT/Makefile.am
function declaration for a function that no longer exists
[dana/openbox.git] / nls / it_IT / Makefile.am
1 # Makefile.am for Blackbox - an X11 Window Manager
2
3 NLSTEST = @NLS@
4 THE_LANG = it_IT
5 THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
6 CLEANFILES = openbox.cat
7 MAINTAINERCLEANFILES = Makefile.in Translation.m
8 DISTCLEANFILES = Translation.m
9 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@/blackbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
10
11 all-local: openbox.cat
12 install-data-local: openbox.cat
13         @if test x$(NLSTEST) = "xyes"; then \
14                 echo "Installing catalog in $(THE_NLS_PATH)"; \
15                 $(mkinstalldirs) $(THE_NLS_PATH); \
16                 $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
17                 rm -f $(DESTDIR)$(pkgdatadir)/nls/it; \
18                 ln -f -s it_IT $(DESTDIR)$(pkgdatadir)/nls/it; \
19 fi
20 uninstall-local:
21         @if test x$(NLSTEST) = "xyes"; then \
22                 rm -f $(THE_NLS_PATH)/openbox.cat; \
23                 rm -f $(DESTDIR)$(pkgdatadir)/nls/it; \
24                 rmdir $(THE_NLS_PATH); \
25         fi
26
27 Translation.m: $(MFILES)
28         @if test x$(NLSTEST) = "xyes"; then \
29                 awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
30         fi
31
32 openbox.cat: Translation.m
33         @if test x$(NLSTEST) = "xyes"; then \
34                 $(gencat_cmd) openbox.cat Translation.m; \
35         fi
36
37 distclean-local:
38         rm -f *\~ .\#*