File tree 2 files changed +3
-27
lines changed
2 files changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,12 @@ BUILDDIR = .
17
17
PYTHON ?= python
18
18
PLOTS = $(patsubst ../bench/% .txt,html/img/% .png,$(sort $(wildcard ../bench/* .txt) ) )
19
19
20
- .PHONY : env html upload clean
20
+ .PHONY : env html clean
21
21
22
22
default : html
23
23
24
- html : $(PLOTS ) html/.gitignore html/.nojekill
25
- $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) \
26
- . $(BUILDDIR ) /html
24
+ html : $(PLOTS )
25
+ $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) . $(BUILDDIR ) /html
27
26
28
27
html/img/% .png : ../bench/% .txt
29
28
mkdir -p html/img
@@ -35,25 +34,6 @@ html/img/%.png: ../bench/%.txt
35
34
env :
36
35
virtualenv -p $(PYTHON ) $(ENV_DIR )
37
36
$(ENV_BIN ) /pip install -r requirements.txt
38
- # Clone the github pages repository to update
39
- # Fail silently if this is not a git repos (upload won't work of course)
40
- git status 2> /dev/null \
41
- && git clone -b gh-pages \
42
- $$(git remote show -n origin | awk '/URL/ {print $$NF; exit}' ) \
43
- html \
44
- || true
45
-
46
- html/.gitignore : html-gitignore
47
- cp $< $@
48
-
49
- html/.nojekill :
50
- touch $@
51
-
52
- upload :
53
- cd html && test -d .git \
54
- && git add --all \
55
- && git commit -m " website update on $$ (date)" \
56
- && git push
57
37
58
38
clean :
59
39
# Do not delete .gitignore and .git directories
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments