From 9e3697da371a491fd7a5262e528939f38d589f5a Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Thu, 7 Jan 2021 18:14:11 +0100 Subject: [PATCH] Module task added --- .gitmodules | 3 +++ Makefile | 6 +++--- task | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) create mode 160000 task diff --git a/.gitmodules b/.gitmodules index 4d0363e..0d4d94f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "report"] path = report url = https://git.mount-mockery.de/pylib/report +[submodule "task"] + path = task + url = https://git.mount-mockery.de/pylib/task diff --git a/Makefile b/Makefile index 23fbf2f..6b20c69 100644 --- a/Makefile +++ b/Makefile @@ -12,13 +12,14 @@ MODULES = $(sort \ stringtools\ stringtools.csp\ stringtools.stp\ + task\ ) # Put it first so that "make" without argument is like "make help". .PHONY: all help Makefile -all: clean index.rst $(MODULES) html +all: index.rst $(MODULES) html help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @@ -32,7 +33,6 @@ clean: Makefile rm -f *.rst @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\ done @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @@ -47,6 +47,6 @@ index.rst: Makefile @if [ "$(findstring .,$@)" != "." ]; then \ git -C $@ checkout master; \ git -C $@ pull; \ - make -C $@/_examples_ clean all; \ + make -C $@/_examples_ all; \ fi @echo " $@.rst" >> index.rst; \ diff --git a/task b/task new file mode 160000 index 0000000..9fbd98f --- /dev/null +++ b/task @@ -0,0 +1 @@ +Subproject commit 9fbd98f39cb919603ddc784608aa1eb354129b3e