about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-10-05T09·37+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-10-05T09·37+0000
commitd47e03fccd1807edb6199cbe0736872d0db3b017 (patch)
tree2e80be3c28970d1cddfd4bbebab5c207885eab5d
parented4de220d29414be504a9f73bf86e0cef2e8dfba (diff)
* Install the XSL stylesheets for log to html conversion.
-rw-r--r--src/log2xml/Makefile.am20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/log2xml/Makefile.am b/src/log2xml/Makefile.am
index b439f5e10d77..4b6c76c24355 100644
--- a/src/log2xml/Makefile.am
+++ b/src/log2xml/Makefile.am
@@ -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 $< > $@
\ No newline at end of file
+%.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