From: Jason Ish Date: Thu, 16 Feb 2017 19:02:58 +0000 (-0600) Subject: Makefile: fix race condition in make install-full X-Git-Tag: suricata-4.0.0-beta1~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c810748a60295dab22fa504bf151984244a0ffd7;p=thirdparty%2Fsuricata.git Makefile: fix race condition in make install-full Use recursive make for the install process so it is executed in a predictable order. Addresses issue: https://redmine.openinfosecfoundation.org/issues/1470 which triggered on OSX/macOS. --- diff --git a/Makefile.am b/Makefile.am index b265b6f2dc..d33150fff3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,10 @@ CLEANFILES = stamp-h[0-9]* install-data-am: @echo "Run 'make install-conf' if you want to install initial configuration files. Or 'make install-full' to install configuration and rules"; -install-full: install install-conf install-rules +install-full: + $(MAKE) install + $(MAKE) install-conf + $(MAKE) install-rules install-conf: install -d "$(DESTDIR)$(e_sysconfdir)"