[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-avahi
Subject:    [avahi] [PATCH] build-sys: fix parallel install in avahi-utils
From:       Diego Elio Pettenò <flameeyes () flameeyes ! eu>
Date:       2012-05-01 0:09:45
Message-ID: 1335830985-12377-1-git-send-email-flameeyes () flameeyes ! eu
[Download RAW message or body]

The moment install-exec-local is called, we might still not have
created ${DESTDIR}/${bindir} so we should make sure to create it
first, and then try to chdir into it.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
 avahi-utils/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
index a644b4a..1abc79a 100644
--- a/avahi-utils/Makefile.am
+++ b/avahi-utils/Makefile.am
@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
 avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la \
../avahi-common/libavahi-common.la  
 install-exec-local:
-	cd $(DESTDIR)/$(bindir) && \
+	$(mkdir_p) $(DESTDIR)/$(bindir) && \
+		cd $(DESTDIR)/$(bindir) && \
 		rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains \
avahi-publish-address avahi-publish-service && \  $(LN_S) avahi-resolve \
avahi-resolve-host-name && \  $(LN_S) avahi-resolve avahi-resolve-address && \
-- 
1.7.8.6

_______________________________________________
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic