From: Dana Jansens Date: Thu, 15 Aug 2002 18:43:56 +0000 (+0000) Subject: fix the ko_KR makefile so it builds X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b19065cc4cbfc67dfce516f0da8375328c01ba69;hp=dd6ccfd203fbafeff829b81dde08bacee840accf;p=chaz%2Fopenbox fix the ko_KR makefile so it builds --- diff --git a/nls/ko_KR/Makefile.am b/nls/ko_KR/Makefile.am index 1dfa3031..c6f71970 100644 --- a/nls/ko_KR/Makefile.am +++ b/nls/ko_KR/Makefile.am @@ -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: