summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2db89514978ae51ea4dae92ffe112470f28e8fe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include config.mk

all: $(PAGES:=.txt) $(PAGES:=.html) links

.SUFFIXES: .7 .html .txt

.7.html:
	mandoc -K utf-8 -O man=./%N.html,style=./style.css -T html $< > $@

.7.txt:
	mandoc -K utf-8 -T utf8 $< | col -b > $@

clean:
	rm -f *.html

links:
	ln -sf $(shell pwd)/libreboot.html index.html