diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2017-06-13 18:10:06 +0300 |
---|---|---|
committer | Alexander Kanavin <alex@linutronix.de> | 2021-12-02 13:38:33 +0100 |
commit | a2f3046dbec53be753ae0472151561dd38e7a15a (patch) | |
tree | d8044a6e2b872e7df72a743e0cf4af5bedfed8a6 /src/spinner | |
parent | adc89996f511941c8d284cbed552bd6e9b9f158f (diff) | |
download | adwaita-icon-theme-a2f3046dbec53be753ae0472151561dd38e7a15a.tar.gz |
Run installation commands as shell jobs
This greatly speeds up installation time on multi-core systems:
for example on my machine from 4 minutes to 1 minute.
Yocto project has been carrying this patch for several years,
it's been tested on all kinds of build hosts under all kinds of
system loads, so it's completely robust.
Diffstat (limited to 'src/spinner')
-rw-r--r-- | src/spinner/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/spinner/Makefile.am b/src/spinner/Makefile.am index c14caf68c..322dc0df3 100644 --- a/src/spinner/Makefile.am +++ b/src/spinner/Makefile.am @@ -24,13 +24,14 @@ install-data-local: for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \ context="`dirname $$file`"; \ $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \ - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \ + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \ done; \ for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \ context="`dirname $$file`"; \ $(mkdir_p) $(DESTDIR)$(themedir)/scalable-up-to-32/$$context; \ - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file; \ - done + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file & \ + done; \ + wait uninstall-local: for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \ |