Module task added
This commit is contained in:
parent
0a4b578cfd
commit
9e3697da37
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -10,3 +10,6 @@
|
|||||||
[submodule "report"]
|
[submodule "report"]
|
||||||
path = report
|
path = report
|
||||||
url = https://git.mount-mockery.de/pylib/report
|
url = https://git.mount-mockery.de/pylib/report
|
||||||
|
[submodule "task"]
|
||||||
|
path = task
|
||||||
|
url = https://git.mount-mockery.de/pylib/task
|
||||||
|
6
Makefile
6
Makefile
@ -12,13 +12,14 @@ MODULES = $(sort \
|
|||||||
stringtools\
|
stringtools\
|
||||||
stringtools.csp\
|
stringtools.csp\
|
||||||
stringtools.stp\
|
stringtools.stp\
|
||||||
|
task\
|
||||||
)
|
)
|
||||||
|
|
||||||
# Put it first so that "make" without argument is like "make help".
|
# Put it first so that "make" without argument is like "make help".
|
||||||
|
|
||||||
.PHONY: all help Makefile
|
.PHONY: all help Makefile
|
||||||
|
|
||||||
all: clean index.rst $(MODULES) html
|
all: index.rst $(MODULES) html
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
@ -32,7 +33,6 @@ clean: Makefile
|
|||||||
rm -f *.rst
|
rm -f *.rst
|
||||||
@for module in $(MODULES) ; do \
|
@for module in $(MODULES) ; do \
|
||||||
if [ -d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi \
|
if [ -d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi \
|
||||||
#if [-d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi\
|
|
||||||
done
|
done
|
||||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
@ -47,6 +47,6 @@ index.rst: Makefile
|
|||||||
@if [ "$(findstring .,$@)" != "." ]; then \
|
@if [ "$(findstring .,$@)" != "." ]; then \
|
||||||
git -C $@ checkout master; \
|
git -C $@ checkout master; \
|
||||||
git -C $@ pull; \
|
git -C $@ pull; \
|
||||||
make -C $@/_examples_ clean all; \
|
make -C $@/_examples_ all; \
|
||||||
fi
|
fi
|
||||||
@echo " $@.rst" >> index.rst; \
|
@echo " $@.rst" >> index.rst; \
|
||||||
|
1
task
Submodule
1
task
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9fbd98f39cb919603ddc784608aa1eb354129b3e
|
Loading…
x
Reference in New Issue
Block a user