tInitial attempt to force libtool to install plugin modules in the right directory. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c531ccd9b1397278a0ac81fd13c4610961e6fdc9
(DIR) parent d283d105e45194c73160a7e1ec0175fc3c4138fe
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 13 May 2002 15:55:00 +0000
Initial attempt to force libtool to install plugin modules in
tthe right directory.
Diffstat:
M src/plugins/Makefile.am | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
t@@ -6,3 +6,14 @@ libsound_sdl_la_LDFLAGS = @SDL_LIBS@
libsound_winmm_la_SOURCES = sound_winmm.c sound_winmm.h
LIBS = @GLIB_LIBS@
INCLUDES = @SOUND_CFLAGS@ @GLIB_CFLAGS@
+
+if PLUGINS
+PLUGINDIR = ${DESTDIR}${plugindir}
+PLUGINS = .libs/libsound_sdl.so .libs/libsound_esd.so .libs/libsound_winmm.so
+
+install-exec-local:
+ ${mkinstalldirs} ${PLUGINDIR}
+ for plug in ${PLUGINS}; do \
+ ${INSTALL} ${srcdir}/$${plug} ${PLUGINDIR}; \
+ done
+endif