Makefile to build only the required HTML versions of the PEPs rather than
all of them.
This commit is contained in:
parent
f07c9e76b0
commit
242b05ad16
|
@ -0,0 +1,15 @@
|
||||||
|
# Rules to only make the required HTML versions, not all of them,
|
||||||
|
# without the user having to keep track of which.
|
||||||
|
#
|
||||||
|
# Not really important, but convenient.
|
||||||
|
|
||||||
|
PEP2HTML=./pep2html.py -q
|
||||||
|
|
||||||
|
.SUFFIXES: .txt .html
|
||||||
|
|
||||||
|
.txt.html:
|
||||||
|
$(PEP2HTML) $<
|
||||||
|
|
||||||
|
TARGETS=$(patsubst %.txt,%.html,$(wildcard pep-*.txt))
|
||||||
|
|
||||||
|
all: $(TARGETS)
|
Loading…
Reference in New Issue