merge in support for nightly triggers and local menus
svn path=/trunk/; revision=32215
This commit is contained in:
13
Makefile
13
Makefile
@@ -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)
|
||||
|
Reference in New Issue
Block a user