fix the ko_KR makefile so it builds
This commit is contained in:
parent
dd6ccfd203
commit
b19065cc4c
1 changed files with 16 additions and 13 deletions
|
@ -1,34 +1,37 @@
|
|||
# Makefile.am for Blackbox - an X11 Window Manager
|
||||
|
||||
NLSTEST = @NLS@
|
||||
THE_LANG = ko_KR
|
||||
THE_LANG = ko_KO
|
||||
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
||||
CLEANFILES = blackbox.cat
|
||||
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: blackbox.cat
|
||||
install-data-local: blackbox.cat
|
||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
||||
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) blackbox.cat $(THE_NLS_PATH); \
|
||||
fi
|
||||
$(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/nls/nl; \
|
||||
ln -f -s ko_KO $(DESTDIR)$(pkgdatadir)/nls/ko; \
|
||||
fi
|
||||
uninstall-local:
|
||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
||||
rm -f $(THE_NLS_PATH)/blackbox.cat; \
|
||||
@if test x$(NLSTEST) = "xyes"; then \
|
||||
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/nls/ko; \
|
||||
rmdir $(THE_NLS_PATH); \
|
||||
fi
|
||||
|
||||
Translation.m: $(MFILES)
|
||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
||||
@if test x$(NLSTEST) = "xyes"; then \
|
||||
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
|
||||
fi
|
||||
|
||||
blackbox.cat: Translation.m
|
||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
||||
$(gencat_cmd) blackbox.cat Translation.m; \
|
||||
openbox.cat: Translation.m
|
||||
@if test x$(NLSTEST) = "xyes"; then \
|
||||
$(gencat_cmd) openbox.cat Translation.m; \
|
||||
fi
|
||||
|
||||
distclean-local:
|
||||
|
|
Loading…
Reference in a new issue