* Install the XSL stylesheets for log to html conversion.
This commit is contained in:
parent
ed4de220d2
commit
d47e03fccd
1 changed files with 14 additions and 6 deletions
|
@ -1,9 +1,17 @@
|
|||
bin_PROGRAMS = log2xml
|
||||
bin_PROGRAMS = nix-log2xml
|
||||
|
||||
log2xml_SOURCES = log2xml.cc
|
||||
nix_log2xml_SOURCES = log2xml.cc
|
||||
|
||||
%.xml: %.log log2xml
|
||||
./log2xml < $< > $@
|
||||
%.xml: %.log nix-log2xml
|
||||
./nix-log2xml < $< > $@
|
||||
|
||||
%.html: %.xml log2html.xsl
|
||||
xsltproc log2html.xsl $< > $@
|
||||
%.html: %.xml mark-errors.xsl log2html.xsl
|
||||
$(xsltproc) mark-errors.xsl $< | $(xsltproc) log2html.xsl - > $@
|
||||
|
||||
LOG2HTML = mark-errors.xsl log2html.xsl treebits.js
|
||||
|
||||
EXTRA_DIST = $(LOG2HTML)
|
||||
|
||||
install-data-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/log2html
|
||||
$(INSTALL_DATA) $(LOG2HTML) $(DESTDIR)$(datadir)/nix/log2html
|
||||
|
|
Loading…
Reference in a new issue