Last change
on this file since 205 was
205,
checked in by pinsard, 10 years ago
|
website not any more hosted by LOCEAN
|
File size:
606 bytes
|
Line | |
---|
1 | # Makefile |
---|
2 | # |
---|
3 | |
---|
4 | # You can set these variables from the command line. |
---|
5 | BUILDDIR = _build |
---|
6 | |
---|
7 | .PHONY: help clean html |
---|
8 | |
---|
9 | help: |
---|
10 | @echo "Please use \`make <target>' where <target> is one of" |
---|
11 | @echo " html to make HTML file" |
---|
12 | @echo " clean to clean" |
---|
13 | |
---|
14 | clean: |
---|
15 | -rm -rf $(BUILDDIR)/* |
---|
16 | |
---|
17 | html: |
---|
18 | mkdir -p $(BUILDDIR)/html/ |
---|
19 | mkdir -p $(BUILDDIR)/html/_static/ |
---|
20 | cp _static/*.jpg $(BUILDDIR)/html/_static/ |
---|
21 | rst2html --strict --strip-comments \ |
---|
22 | --input-encoding=UTF-8 \ |
---|
23 | index.rst $(BUILDDIR)/html/index.html |
---|
24 | @echo |
---|
25 | @echo "Build finished. The HTML page is in $(BUILDDIR)/html." |
---|
Note: See
TracBrowser
for help on using the repository browser.