]> Dogcows Code - chaz/openbox/commitdiff
fix the ko_KR makefile so it builds
authorDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 18:43:56 +0000 (18:43 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 18:43:56 +0000 (18:43 +0000)
nls/ko_KR/Makefile.am

index 1dfa3031539b1fe8fa6e6d9e35403da2a381cc85..c6f719705fbbf57e3fe197e34ce189a4ef8a8a70 100644 (file)
@@ -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:
This page took 0.023129 seconds and 4 git commands to generate.