Browse Source

Add some notes about open issues in Makefile

NEWTESTIMONIALPAGES
Reinhard Müller 7 months ago
parent
commit
bec6f6c71e
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Makefile

+ 7
- 0
Makefile 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

Loading…
Cancel
Save