openbox/nls/ru_RU/Makefile.am

36 lines
1.2 KiB
Text
Raw Normal View History

2002-05-25 01:07:58 +00:00
# Makefile.am for Blackbox - an X11 Window Manager
2002-04-11 03:20:38 +00:00
NLSTEST = @NLS@
2002-05-25 01:07:58 +00:00
THE_LANG = ru_RU
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
2002-05-28 12:21:38 +00:00
CLEANFILES = openbox.cat
2002-04-11 03:20:38 +00:00
MAINTAINERCLEANFILES = Makefile.in Translation.m
DISTCLEANFILES = Translation.m
2002-05-25 01:07:58 +00:00
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
2002-04-11 03:20:38 +00:00
2002-05-28 12:21:38 +00:00
all-local: openbox.cat
install-data-local: openbox.cat
2002-04-11 03:20:38 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-25 01:07:58 +00:00
echo "Installing catalog in $(THE_NLS_PATH)"; \
$(mkinstalldirs) $(THE_NLS_PATH); \
2002-05-28 12:21:38 +00:00
$(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
2002-04-11 03:20:38 +00:00
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-28 12:21:38 +00:00
rm -f $(THE_NLS_PATH)/openbox.cat; \
2002-05-25 01:07:58 +00:00
rmdir $(THE_NLS_PATH); \
2002-04-11 03:20:38 +00:00
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
fi
2002-05-28 12:21:38 +00:00
openbox.cat: Translation.m
2002-04-11 03:20:38 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-28 12:21:38 +00:00
$(gencat_cmd) openbox.cat Translation.m; \
2002-04-11 03:20:38 +00:00
fi
distclean-local:
rm -f *\~