]> Dogcows Code - chaz/openbox/commitdiff
fix nls' that didnt build
authorDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 18:49:53 +0000 (18:49 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 18:49:53 +0000 (18:49 +0000)
nls/es_AR/Makefile.am
nls/no_NO/Makefile.am
nls/pt_BR/Makefile.am
nls/ro_RO/Makefile.am

index 7725a170a512e488c047d46579e7e5033b0d3626..d1c21ce9ca4b88160217d8006f20a8c53ff83735 100644 (file)
@@ -3,32 +3,35 @@
 NLSTEST = @NLS@
 THE_LANG = es_AR
 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); \
+               $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
+               rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
+                ln -f -s es_AR $(DESTDIR)$(pkgdatadir)/nls/es; \
        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/es; \
                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:
index 19c890316aede446feaf33d127dea26064532899..cb6ba92f3a2c8bb2050e12488a2df1dc844c21b4 100644 (file)
@@ -3,32 +3,35 @@
 NLSTEST = @NLS@
 THE_LANG = no_NO
 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); \
+               $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
+               rm -f $(DESTDIR)$(pkgdatadir)/nls/no; \
+                ln -f -s no_NO $(DESTDIR)$(pkgdatadir)/nls/no; \
        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/no; \
                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:
index 16fa3db2de3151d88fb7eba8037da03e496f0e7e..7c1fea4d0aaee7f4e30c5a394349920bf2cec726 100644 (file)
@@ -14,10 +14,13 @@ install-data-local: openbox.cat
                echo "Installing catalog in $(THE_NLS_PATH)"; \
                $(mkinstalldirs) $(THE_NLS_PATH); \
                $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
+               rm -f $(DESTDIR)$(pkgdatadir)/nls/pt; \
+                ln -f -s pt_BR $(DESTDIR)$(pkgdatadir)/nls/pt; \
        fi
 uninstall-local:
        @if test x$(NLSTEST) = "xyes"; then \
                rm -f $(THE_NLS_PATH)/openbox.cat; \
+               rm -f $(DESTDIR)$(pkgdatadir)/nls/pt; \
                rmdir $(THE_NLS_PATH); \
        fi
 
index 6db97514c8ce9be7491446d5ca752a09d9f54b50..9181980b1d36e25aa0fb1dc54c3bc2132946d560 100644 (file)
@@ -3,32 +3,35 @@
 NLSTEST = @NLS@
 THE_LANG = ro_RO
 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); \
+               $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \
+               rm -f $(DESTDIR)$(pkgdatadir)/nls/ro; \
+                ln -f -s ro_RO $(DESTDIR)$(pkgdatadir)/nls/ro; \
        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/ro; \
                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.028753 seconds and 4 git commands to generate.