Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7343005
D451.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
721 B
Subscribers
None
D451.id.diff
View Options
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
Details
Attached
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
Attached To
D451: Build and copy all images to swh-docs' build output.
Event Timeline
Log In to Comment