From 6fca6921a8047948bdee175ea9fe5d3902e524d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Nov 2014 01:56:42 +0300 Subject: after build try copy files in two relative dirs. this fix issue if run make from root dir or from build dir. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 22f7c53..4295fe5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,5 +24,5 @@ libevol_map_la_LDFLAGS = -avoid-version libevol_map_la_CFLAGS = ${SHARED_FLAGS} all-local: libevol_char.la libevol_login.la libevol_map.la - cp .libs/*.so ../../../plugins - cp .libs/*.so ../../../../server-data/plugins + cp .libs/*.so ../../../../plugins || cp .libs/*.so ../../../plugins + cp .libs/*.so ../../../../../server-data/plugins || cp .libs/*.so ../../../../server-data/plugins -- cgit v1.2.3-70-g09d2