build: Ensure we have $(DESTDIR)$(libdir) during parallel install
authorStefan Schmidt <s.schmidt@samsung.com>
Wed, 25 Feb 2015 13:20:16 +0000 (14:20 +0100)
committerStefan Schmidt <s.schmidt@samsung.com>
Wed, 25 Feb 2015 15:43:35 +0000 (16:43 +0100)
While install-exec-hook gets normally executed after install and
thus we would have this we need to ensure it here when we want to
be safe regarding parallel install.

src/Makefile.am

index b0b48848fb00069dadbaed8d435a0f0d9ffc6a6a..5a4e4143c92d8bda03f76eda613b01cb708b14ed 100644 (file)
@@ -146,6 +146,7 @@ clean-local:
        find . -type f -name check-results.xml -delete
 
 install-exec-hook:
+       $(MKDIR_P) $(DESTDIR)$(libdir)
        for i in $(lib_LTLIBRARIES); do \
           FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
           FNAMEEXT="$$FNAME.$$$$"; \