diff src/madplug/Makefile @ 2006:a56a26a5f233

Revised the plugindir logic.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 01:40:13 +0300
parents 9ea88bd211c2
children 1ad002ce1bd0
line wrap: on
line diff
--- a/src/madplug/Makefile	Tue Oct 09 22:39:32 2007 +0300
+++ b/src/madplug/Makefile	Wed Oct 10 01:40:13 2007 +0300
@@ -8,11 +8,11 @@
        plugin.c		\
        xing.c
 
-plugindir = audacious/${INPUT_PLUGIN_DIR}
-
 include ../../buildsys.mk
 include ../../extra.mk
 
+plugindir := $(plugindir)/${INPUT_PLUGIN_DIR}
+
 CPPFLAGS += ${PLUGIN_CPPFLAGS} ${DBUS_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${MOWGLI_CFLAGS} ${ARCH_DEFINES} ${SIMD_CFLAGS} -I../..
 CFLAGS += ${PLUGIN_CFLAGS}
 LIBS += -L${libdir} -laudid3tag -lmad ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}