35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
# Makefile.am for Blackbox - an X11 Window Manager
|
|
|
|
NLSTEST = @NLS@
|
|
THE_LANG = hu_HU
|
|
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
|
CLEANFILES = openbox.cat
|
|
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
|
DISTCLEANFILES = Translation.m
|
|
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
|
|
|
|
all-local: openbox.cat
|
|
install-data-local: openbox.cat
|
|
@if test x$(NLSTEST) = "xyes"; then \
|
|
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
|
$(mkinstalldirs) $(THE_NLS_PATH); \
|
|
$(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
|
|
fi
|
|
uninstall-local:
|
|
@if test x$(NLSTEST) = "xyes"; then \
|
|
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
|
rmdir $(THE_NLS_PATH); \
|
|
fi
|
|
|
|
Translation.m: $(MFILES)
|
|
@if test x$(NLSTEST) = "xyes"; then \
|
|
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
|
|
fi
|
|
|
|
openbox.cat: Translation.m
|
|
@if test x$(NLSTEST) = "xyes"; then \
|
|
$(gencat_cmd) openbox.cat Translation.m; \
|
|
fi
|
|
|
|
distclean-local:
|
|
rm -f *\~ .\#*
|