Use default.xsl as the common XSL for all news and events lists
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
377fcde82e
commit
55f58a4e07
|
@ -37,11 +37,3 @@ all: $(ARCH_SOURCES)
|
|||
$(ARCH_SOURCES): %.sources:
|
||||
@echo "* Creating $@"
|
||||
@echo "events/$(dir $@)event-*:[]\nevents/$(dir $@).event-*:[]\nevents/.localmenu:[]\n" > $@
|
||||
|
||||
# .xsl files to generate
|
||||
ARCH_XSL := $(foreach year,$(ARCH_YEARS),$(year)/index.xsl)
|
||||
|
||||
all: $(ARCH_XSL)
|
||||
$(ARCH_XSL): %.xsl: events.xsl
|
||||
@echo "* Creating $@"
|
||||
@sed -r 's/(import href=")/\1..\//; s/(\.\.\/about)/..\/\1/' $< > $@
|
||||
|
|
|
@ -38,14 +38,6 @@ $(ARCH_SOURCES): %.sources:
|
|||
@echo "* Creating $@"
|
||||
@echo "news/$(dir $@)news-*:[]\nnews/$(dir $@).news-*:[]\nnews/.localmenu:[]\n" > $@
|
||||
|
||||
# .xsl files to generate
|
||||
ARCH_XSL := $(foreach year,$(ARCH_YEARS),$(year)/index.xsl)
|
||||
|
||||
all: $(ARCH_XSL)
|
||||
$(ARCH_XSL): %.xsl: news.xsl
|
||||
@echo "* Creating $@"
|
||||
@sed -r 's/(import href=")/\1..\//; s/(\.\.\/about)/..\/\1/' $< > $@
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Remove generated .xml files where original .xhtml file does not exist anymore
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:import href="news.xsl"/>
|
||||
</xsl:stylesheet>
|
Loading…
Reference in New Issue