merge in support for nightly triggers and local menus

svn path=/trunk/; revision=32215
This commit is contained in:
2015-10-28 21:28:21 +00:00
parent 0fb46dfccd
commit 16e7ff8d93
27 changed files with 125 additions and 97 deletions

View File

@@ -30,18 +30,11 @@ sources := $(shell grep -l -R --include='*.xhtml' $(SELECT) . )
.PHONY: localmenus
localmenus: localmenuinfo.xml
localmenus: localmenuinfo.en.xml
$(HELPERFILE) :
rm -f $(HELPERFILE)
localmenuinfo.en.xml: $(sources)
echo \<localmenuset\> > $(HELPERFILE)
grep -R --include='*.xhtml' $(SELECT) .| sed -e 's,$(FIND),$(REPLACE),' >> $(HELPERFILE)
echo \</localmenuset\> >> $(HELPERFILE)
localmenuinfo.xml: $(HELPERFILE) $(sources)
xsltproc -o $@ $(STYLESHEET) $(HELPERFILE)
rm -f $(HELPERFILE)
%.html : %.xhtml $(HELPERFILE)
perl tools/bogus-build.pl $< | xsltproc -o $@ fsfeurope.xsl -
rm $(HELPERFILE)