summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-16 07:12:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-16 07:12:45 +0000
commit17918f676590530a06ffd72c2ad5047194de18af (patch)
tree6857c7d31685e865d66d5a98418e85957fa6b601 /src
parent391cd01b419e6ba4dbcd19d902a947126391bb26 (diff)
downloadapk-tools-17918f676590530a06ffd72c2ad5047194de18af.tar.gz
apk-tools-17918f676590530a06ffd72c2ad5047194de18af.tar.bz2
apk-tools-17918f676590530a06ffd72c2ad5047194de18af.tar.xz
apk-tools-17918f676590530a06ffd72c2ad5047194de18af.zip
build: fix make install of shared lib and lua module
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 41a3b32..11aa305 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,7 +9,7 @@ shlibs-y += apk.so
apk.so-objs := lua-apk.o
CFLAGS_lua-apk.o := -DAPK_VERSION=\"$(FULL_VERSION)\"
LUA_LIB-y := $(obj)/apk.so
-install-LUA_LIB-y := $(INSTALLDIR) $(DESTDIR)$(LUA_LIBDIR) \
+install-LUA_LIB-y := $(INSTALLDIR) $(DESTDIR)$(LUA_LIBDIR) && \
$(INSTALL) $(LUA_LIB-y) $(DESTDIR)$(LUA_LIBDIR)
endif
@@ -43,7 +43,7 @@ endif
ifneq ($(SHARED_LIBAPK),)
shlibs-y += libapk.so
LIBAPK-y := $(obj)/libapk.so
-install-LIBAPK-y := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) \
+install-LIBAPK-y := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) && \
$(INSTALL) $(LIBAPK-y) $(DESTDIR)$(LIBDIR)
endif