* [git.ipfire.org] The artwork of the ipfire project. branch, master, updated. 95a5bb87caf4ef1f96658e3d9de48231699bbdd1
@ 2026-06-17 17:39 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2026-06-17 17:39 UTC (permalink / raw)
To: ipfire-scm
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The artwork of the ipfire project.".
The branch, master has been updated
via 95a5bb87caf4ef1f96658e3d9de48231699bbdd1 (commit)
from 7ef4f8aac4c1082408de819369a58181832b5ef7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 95a5bb87caf4ef1f96658e3d9de48231699bbdd1
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed Jun 17 18:39:08 2026 +0100
upload: Automatically compute parent directories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Difference in files:
diff --git a/Makefile b/Makefile
index 59897a6..06fbf7b 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,12 @@ define TO_MONOCHROME
< $< > $@
endef
+# Macro to expand parent directories
+ancestors = $(if $(filter-out ./,$(1)),$(1) $(call ancestors,$(dir $(patsubst %/,%,$(1)))))
+
+# Deduplicated parent dirs needed to reach a list of files
+parents = $(sort $(foreach f,$(1),$(call ancestors,$(dir $(f)))))
+
.PHONY: all
all: $(OBJECTS)
@@ -213,8 +219,7 @@ clean:
.PHONY: upload
upload: $(OBJECTS)
rsync -avHz --progress --delete --delete-excluded \
- $(addprefix --filter="+ ",$(STYLES)) \
+ $(addprefix --filter="+ ",$(call parents,$(OBJECTS))) \
$(addprefix --filter="+ ",$(OBJECTS)) \
- --filter="+ bios/" \
--filter="- */" --filter="- *" \
. people.ipfire.org:/pub/artwork/
hooks/post-receive
--
The artwork of the ipfire project.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-17 17:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 17:39 [git.ipfire.org] The artwork of the ipfire project. branch, master, updated. 95a5bb87caf4ef1f96658e3d9de48231699bbdd1 Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox