fix nls' that didnt build
This commit is contained in:
parent
b19065cc4c
commit
f7604fbe61
4 changed files with 45 additions and 33 deletions
|
@ -3,32 +3,35 @@
|
||||||
NLSTEST = @NLS@
|
NLSTEST = @NLS@
|
||||||
THE_LANG = es_AR
|
THE_LANG = es_AR
|
||||||
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
||||||
CLEANFILES = blackbox.cat
|
CLEANFILES = openbox.cat
|
||||||
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
||||||
DISTCLEANFILES = 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
|
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
|
all-local: openbox.cat
|
||||||
install-data-local: blackbox.cat
|
install-data-local: openbox.cat
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
||||||
$(mkinstalldirs) $(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
|
fi
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
rm -f $(THE_NLS_PATH)/blackbox.cat; \
|
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
||||||
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
|
||||||
rmdir $(THE_NLS_PATH); \
|
rmdir $(THE_NLS_PATH); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Translation.m: $(MFILES)
|
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); \
|
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
blackbox.cat: Translation.m
|
openbox.cat: Translation.m
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
$(gencat_cmd) blackbox.cat Translation.m; \
|
$(gencat_cmd) openbox.cat Translation.m; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
|
|
|
@ -3,32 +3,35 @@
|
||||||
NLSTEST = @NLS@
|
NLSTEST = @NLS@
|
||||||
THE_LANG = no_NO
|
THE_LANG = no_NO
|
||||||
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
||||||
CLEANFILES = blackbox.cat
|
CLEANFILES = openbox.cat
|
||||||
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
||||||
DISTCLEANFILES = 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
|
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
|
all-local: openbox.cat
|
||||||
install-data-local: blackbox.cat
|
install-data-local: openbox.cat
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
||||||
$(mkinstalldirs) $(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
|
fi
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
rm -f $(THE_NLS_PATH)/blackbox.cat; \
|
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
||||||
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/no; \
|
||||||
rmdir $(THE_NLS_PATH); \
|
rmdir $(THE_NLS_PATH); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Translation.m: $(MFILES)
|
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); \
|
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
blackbox.cat: Translation.m
|
openbox.cat: Translation.m
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
$(gencat_cmd) blackbox.cat Translation.m; \
|
$(gencat_cmd) openbox.cat Translation.m; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
|
|
|
@ -14,10 +14,13 @@ install-data-local: openbox.cat
|
||||||
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
||||||
$(mkinstalldirs) $(THE_NLS_PATH); \
|
$(mkinstalldirs) $(THE_NLS_PATH); \
|
||||||
$(INSTALL_DATA) openbox.cat $(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
|
fi
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
@if test x$(NLSTEST) = "xyes"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
||||||
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/pt; \
|
||||||
rmdir $(THE_NLS_PATH); \
|
rmdir $(THE_NLS_PATH); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,32 +3,35 @@
|
||||||
NLSTEST = @NLS@
|
NLSTEST = @NLS@
|
||||||
THE_LANG = ro_RO
|
THE_LANG = ro_RO
|
||||||
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
|
||||||
CLEANFILES = blackbox.cat
|
CLEANFILES = openbox.cat
|
||||||
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
||||||
DISTCLEANFILES = 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
|
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
|
all-local: openbox.cat
|
||||||
install-data-local: blackbox.cat
|
install-data-local: openbox.cat
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
echo "Installing catalog in $(THE_NLS_PATH)"; \
|
||||||
$(mkinstalldirs) $(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
|
fi
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
rm -f $(THE_NLS_PATH)/blackbox.cat; \
|
rm -f $(THE_NLS_PATH)/openbox.cat; \
|
||||||
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/ro; \
|
||||||
rmdir $(THE_NLS_PATH); \
|
rmdir $(THE_NLS_PATH); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Translation.m: $(MFILES)
|
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); \
|
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
blackbox.cat: Translation.m
|
openbox.cat: Translation.m
|
||||||
@if test x$(NLSTEST) = "x-DNLS"; then \
|
@if test x$(NLSTEST) = "xyes"; then \
|
||||||
$(gencat_cmd) blackbox.cat Translation.m; \
|
$(gencat_cmd) openbox.cat Translation.m; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
|
|
Loading…
Reference in a new issue