1
# Rules to only make the required HTML versions, not all of them,
2
# without the user having to keep track of which.
3
#
4
# Not really important, but convenient.
5
6
PSEP2HTML=psep2html.py
7
8
PYTHON=python
9
10
.SUFFIXES: .txt .html
11
12
.txt.html:
13
	@$(PYTHON) $(PSEP2HTML) $<
14
15
TARGETS=$(patsubst %.txt,%.html,$(wildcard psep-????.txt)) psep-0000.html
16
17
all: psep-0000.txt $(TARGETS)
18
19
$(TARGETS): psep2html.py
20
21
psep-0000.txt: $(wildcard psep-????.txt)
22
	$(PYTHON) genpsepindex.py .
23
24
install:
25
	echo "Installing is not necessary anymore. It will be done in post-commit."
26
27
clean:
28
	-rm psep-0000.txt
29
	-rm psep-*.html
30
31
update:
32
	git pull