summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-06 01:56:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-06 01:56:42 +0300
commit6fca6921a8047948bdee175ea9fe5d3902e524d5 (patch)
tree0d3ba379006f489d7e9cf4ccc0ca8a9474ad2793 /src/Makefile.am
parent51fb74519d4c60fdae40072e8fa6c1906c616a05 (diff)
downloadevol-hercules-6fca6921a8047948bdee175ea9fe5d3902e524d5.tar.gz
evol-hercules-6fca6921a8047948bdee175ea9fe5d3902e524d5.tar.bz2
evol-hercules-6fca6921a8047948bdee175ea9fe5d3902e524d5.tar.xz
evol-hercules-6fca6921a8047948bdee175ea9fe5d3902e524d5.zip
after build try copy files in two relative dirs.
this fix issue if run make from root dir or from build dir.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files 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