aboutsummaryrefslogtreecommitdiff
path: root/src/nix-log2xml/Makefile.am
blob: 4b6c76c2435519c5e55e7ba31a31867ce1229813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bin_PROGRAMS = nix-log2xml

nix_log2xml_SOURCES = log2xml.cc

%.xml: %.log nix-log2xml
	./nix-log2xml < $< > $@

%.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