blob: 3dc3402da3bd3d2e4bd5700704b3cc1d58f6afcd (
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.rst
.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
|