blob: 81b44b52718f5854c44cbb7458c0d2ec844d4f44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Documentation Makefile
APP = rst2html
CP = cp -a
RM = rm
IDX = ../README
.SUFFIXES: .txt .html
CSS = --stylesheet-path=lrexlib.css --link-stylesheet
HDR = --initial-header-level=2
DT = --date --time
PAGES = index.html manual.html
.txt.html:
$(APP) $(CSS) $(HDR) $(DT) $< $@
all: $(PAGES)
index.txt: $(IDX)
$(CP) $< $@
clean:
$(RM) $(PAGES) index.txt
|