Split off creation of the HELPERFILE to a separate target
svn path=/branches/test/; revision=13942
This commit is contained in:
parent
63dff670e1
commit
b48494239d
4
Makefile
4
Makefile
@ -32,10 +32,12 @@ sources := $(shell grep -l -R --include='*.xhtml' $(SELECT) . )
|
||||
|
||||
localmenus: localmenuinfo.xml
|
||||
|
||||
localmenuinfo.xml: $(sources)
|
||||
$(HELPERFILE) :
|
||||
rm -f $(HELPERFILE)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user