blob: 54e3e5ee85dd26ef366653352ff9847fda3dad84 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From 79da031e9811f3eef34b14cce419be93fea34319 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 13 Jun 2017 18:10:06 +0300
4Subject: [PATCH] Run installation commands as shell jobs
5
6This greatly speeds up installation time on multi-core systems.
7
8Upstream-Status: Pending
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Andrew Geisslereff27472021-10-29 15:35:00 -050010
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011---
Andrew Geisslereff27472021-10-29 15:35:00 -050012 src/fullcolor/Makefile.am | 5 +++--
13 src/spinner/Makefile.am | 7 ++++---
14 src/symbolic/Makefile.am | 11 ++++++-----
15 3 files changed, 13 insertions(+), 10 deletions(-)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016
17diff --git a/src/fullcolor/Makefile.am b/src/fullcolor/Makefile.am
Andrew Geisslereff27472021-10-29 15:35:00 -050018index d73529b..b7d0808 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019--- a/src/fullcolor/Makefile.am
20+++ b/src/fullcolor/Makefile.am
21@@ -9,9 +9,10 @@ install-data-local:
22 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size && find . -name "*.png"`; do \
23 context="`dirname $$file`"; \
24 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
25- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
26+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
27 done; \
Brad Bishopa34c0302019-09-23 22:34:48 -040028- done;
29+ done; \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030+ wait
31
32 ## FIXME we should add a way to remove links generated by icon mapping
33 uninstall-local:
34diff --git a/src/spinner/Makefile.am b/src/spinner/Makefile.am
Andrew Geisslereff27472021-10-29 15:35:00 -050035index c14caf6..322dc0d 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050036--- a/src/spinner/Makefile.am
37+++ b/src/spinner/Makefile.am
38@@ -24,13 +24,14 @@ install-data-local:
39 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
40 context="`dirname $$file`"; \
41 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
42- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
43+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
44 done; \
45 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \
46 context="`dirname $$file`"; \
47 $(mkdir_p) $(DESTDIR)$(themedir)/scalable-up-to-32/$$context; \
48- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file; \
Brad Bishopa34c0302019-09-23 22:34:48 -040049- done
Andrew Geisslereff27472021-10-29 15:35:00 -050050+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file & \
Brad Bishopa34c0302019-09-23 22:34:48 -040051+ done; \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050052+ wait
53
54 uninstall-local:
55 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \
56diff --git a/src/symbolic/Makefile.am b/src/symbolic/Makefile.am
Andrew Geisslereff27472021-10-29 15:35:00 -050057index 957c0ee..e1f8818 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050058--- a/src/symbolic/Makefile.am
59+++ b/src/symbolic/Makefile.am
Andrew Geisslereff27472021-10-29 15:35:00 -050060@@ -34,18 +34,19 @@ install-data-local:
Brad Bishopd7bf8c12018-02-25 22:55:05 -050061 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
62 context="`dirname $$file`"; \
63 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
64- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
65+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
66 done; \
Brad Bishopa34c0302019-09-23 22:34:48 -040067- done
68+ done; \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050069 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \
70 context="`dirname $$file`"; \
71 $(mkdir_p) $(DESTDIR)$(themedir)/scalable/$$context; \
72- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file; \
73+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file & \
74 for size in $(symbolic_encode_sizes); do \
75 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
76- $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context; \
77+ $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context & \
78 done \
Brad Bishopa34c0302019-09-23 22:34:48 -040079- done
80+ done; \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050081+ wait
82
83 uninstall-local:
84 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \