Page MenuHomeSoftware Heritage

D451.id.diff
No OneTemporary

D451.id.diff

diff --git a/docs/images/Makefile b/docs/images/Makefile
--- a/docs/images/Makefile
+++ b/docs/images/Makefile
@@ -5,8 +5,17 @@
DEP_GRAPHS += $(patsubst %,%.pdf,$(DEP_GRAPHS_base))
DEP_GRAPHS += $(patsubst %,%.svg,$(DEP_GRAPHS_base))
PY_DEPGRAPH = ../bin/py-depgraph
+REPO_IMAGES_DIRS = $(filter-out ../../../swh-docs/docs/images/,$(wildcard ../../../*/docs/images/))
-all: $(DEP_GRAPHS)
+all: $(DEP_GRAPHS) import-ext
+
+import-ext:
+ for dir in $(REPO_IMAGES_DIRS); do \
+ $(MAKE) -C $$dir; \
+ if [ -n "$(wildcard $$dir/*.svg)" ]; then \
+ cp $(wildcard $$dir/*.svg) $(CURDIR)/ ; \
+ fi; \
+ done
py-deps-all.dot: $(PY_DEPGRAPH) $(PY_REQUIREMENTS)
cd ../../.. ; $(CURDIR)/$(PY_DEPGRAPH) > $(CURDIR)/$@

File Metadata

Mime Type
text/plain
Expires
Mar 17 2025, 6:41 PM (7 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3223032

Event Timeline