diff --git a/docs/images/.gitignore b/docs/images/.gitignore --- a/docs/images/.gitignore +++ b/docs/images/.gitignore @@ -1,3 +1,4 @@ py-deps-* tasks-git-loader.svg tasks-lister.svg +tasks-metadata-indexers.svg diff --git a/docs/images/Makefile b/docs/images/Makefile --- a/docs/images/Makefile +++ b/docs/images/Makefile @@ -9,7 +9,12 @@ UML_DIAGS_SRC = $(wildcard *.uml) UML_DIAGS = $(patsubst %.uml,%.svg,$(UML_DIAGS_SRC)) -all: $(DEP_GRAPHS) $(UML_DIAGS) +EXT_IMAGES = $(filter-out $(wildcard ../../../swh-docs/docs/images/*.svg), $(wildcard ../../../swh-*/docs/images/*.svg)) + +all: $(DEP_GRAPHS) $(UML_DIAGS) copy_images + +copy_images: $(EXT_IMAGES) + cp $(EXT_IMAGES) . py-deps-all.dot: $(PY_DEPGRAPH) $(PY_REQUIREMENTS) cd ../../.. ; $(CURDIR)/$(PY_DEPGRAPH) > $(CURDIR)/$@