Revert "feat/build-improvements (#4516)"
continuous-integration/drone/push Build is passing

This reverts commit d1defc73f8.
This commit is contained in:
2024-10-28 15:10:33 +01:00
parent d1defc73f8
commit 30562062b2
19 changed files with 515 additions and 523 deletions
+7 -6
View File
@@ -12,7 +12,6 @@
# This will be overwritten in the command line running this Makefile.
build_env = development
languages = none
# -----------------------------------------------------------------------------
# Build search index
@@ -69,7 +68,7 @@ SUBDIRS := $(shell find . -regex "./[a-z\.]+\.[a-z]+/.*/Makefile" | xargs dirnam
all: $(SUBDIRS)
$(SUBDIRS): .FORCE
echo "* Preparing subdirectory $@"
$(MAKE) --silent --directory=$@ languages="$(languages)"
$(MAKE) --silent --directory=$@
# -----------------------------------------------------------------------------
# Create XML symlinks
@@ -83,7 +82,9 @@ $(SUBDIRS): .FORCE
# otherwise. This symlinks make sure that phase 2 can easily use the right file
# for each language, also as a prerequisite in the Makefile.
TEXTS_LINKS := $(foreach lang,$(languages),global/data/texts/.texts.$(lang).xml)
LANGUAGES := $(shell ls -xw0 global/languages)
TEXTS_LINKS := $(foreach lang,$(LANGUAGES),global/data/texts/.texts.$(lang).xml)
all: $(TEXTS_LINKS)
global/data/texts/.texts.%.xml: .FORCE
@@ -93,7 +94,7 @@ global/data/texts/.texts.%.xml: .FORCE
ln -sf texts.en.xml $@; \
fi
TOPBANNER_LINKS := $(foreach lang,$(languages),global/data/topbanner/.topbanner.$(lang).xml)
TOPBANNER_LINKS := $(foreach lang,$(LANGUAGES),global/data/topbanner/.topbanner.$(lang).xml)
all: $(TOPBANNER_LINKS)
global/data/topbanner/.topbanner.%.xml: .FORCE
@@ -133,7 +134,7 @@ default_xsl:
.PHONY: localmenus
all: localmenus
localmenus: $(SUBDIRS)
tools/update_localmenus.sh "$(languages)"
tools/update_localmenus.sh
# -----------------------------------------------------------------------------
# Update XML filelists
@@ -154,4 +155,4 @@ localmenus: $(SUBDIRS)
.PHONY: xmllists
all: xmllists
xmllists: $(SUBDIRS)
tools/update_xmllists.sh "$(languages)"
tools/update_xmllists.sh