Add some notes about open issues in Makefile
All checks were successful
the build was successful

This commit is contained in:
Reinhard Müller 2019-03-14 11:43:54 +01:00
parent 0334576c35
commit bec6f6c71e

View File

@ -25,6 +25,11 @@ $(SUBDIRS): .FORCE
# Handle local menus
# -----------------------------------------------------------------------------
# FIXME: This runs when the makefile is parsed, before maybe new *.xhtml files
# are created in the news/<year>/ and events/<year>/ directories. It would be
# better to move this into a separate script tools/update-localmenus.sh. It
# would also be better if there was a separate .localmenu.en.xml file for each
# directory.
MENUSOURCES := $(shell find -name '*.xhtml' -not -name "*-template.*" | xargs grep -l '<localmenu.*</localmenu>' | sort)
all: localmenuinfo.en.xml
@ -97,6 +102,8 @@ all: $(FUNDRAISING_LINKS)
# file.
# All directories containing source files for HTML pages.
# FIXME: This runs when the makefile is parsed, before maybe new *.xhtml files
# are created in the news/<year>/ and events/<year>/ directories.
XHTML_DIRS := $(patsubst %/,%,$(sort $(dir $(shell find -name '*.??.xhtml'))))
.PHONY: default_xsl