summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido Falsi <mad@madpilot.net>2019-01-16 15:18:04 +0100
committerGuido Falsi <mad@madpilot.net>2019-01-16 15:18:04 +0100
commit5e0e6874d07b3c2ee8c730f0ae7288a790bda8c7 (patch)
treec169b8a370d3501ecf389ee62f055ffae7a2464a /Makefile.in
parent17f208b2bf118351efda07c0381710575879cf3e (diff)
downloadelementary-xfce-5e0e6874d07b3c2ee8c730f0ae7288a790bda8c7.tar.gz
Avoid race condition when using parallelization.
Otherwise the build target can run before svntopng is compiled.
Diffstat (limited to 'Makefile.in')
-rwxr-xr-xMakefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6f089f12..10dd5778 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,7 @@ DESTDIR=
SUBDIRS := svgtopng
-all: $(SUBDIRS) build
+all: build
$(SUBDIRS):
$(MAKE) -C $@
@@ -29,7 +29,7 @@ icon-caches:
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darker
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darkest
-build: builddir
+build: builddir $(SUBDIRS)
chmod +x ./svgtopng/pngtheme.sh
@./svgtopng/pngtheme.sh build/elementary-xfce
@./svgtopng/pngtheme.sh build/elementary-xfce-dark