|
@@ -12,13 +12,14 @@ MODULES = $(sort \
|
12
|
12
|
stringtools\
|
13
|
13
|
stringtools.csp\
|
14
|
14
|
stringtools.stp\
|
|
15
|
+ task\
|
15
|
16
|
)
|
16
|
17
|
|
17
|
18
|
# Put it first so that "make" without argument is like "make help".
|
18
|
19
|
|
19
|
20
|
.PHONY: all help Makefile
|
20
|
21
|
|
21
|
|
-all: clean index.rst $(MODULES) html
|
|
22
|
+all: index.rst $(MODULES) html
|
22
|
23
|
|
23
|
24
|
help:
|
24
|
25
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -32,7 +33,6 @@ clean: Makefile
|
32
|
33
|
rm -f *.rst
|
33
|
34
|
@for module in $(MODULES) ; do \
|
34
|
35
|
if [ -d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi \
|
35
|
|
- #if [-d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi\
|
36
|
36
|
done
|
37
|
37
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
38
|
38
|
|
|
@@ -47,6 +47,6 @@ index.rst: Makefile
|
47
|
47
|
@if [ "$(findstring .,$@)" != "." ]; then \
|
48
|
48
|
git -C $@ checkout master; \
|
49
|
49
|
git -C $@ pull; \
|
50
|
|
- make -C $@/_examples_ clean all; \
|
|
50
|
+ make -C $@/_examples_ all; \
|
51
|
51
|
fi
|
52
|
52
|
@echo " $@.rst" >> index.rst; \
|