diff src/metronom/Makefile @ 2006:a56a26a5f233

Revised the plugindir logic.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 01:40:13 +0300
parents fa2a37d3f7a2
children 1ad002ce1bd0
line wrap: on
line diff
--- a/src/metronom/Makefile	Tue Oct 09 22:39:32 2007 +0300
+++ b/src/metronom/Makefile	Wed Oct 10 01:40:13 2007 +0300
@@ -1,11 +1,12 @@
 PLUGIN = metronom${PLUGIN_SUFFIX}
+
 SRCS = metronom.c
 
-plugindir = audacious/${INPUT_PLUGIN_DIR}
-
 include ../../buildsys.mk
 include ../../extra.mk
 
+plugindir := $(plugindir)/${INPUT_PLUGIN_DIR}
+
 CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${ARCH_DEFINES} -I../../intl -I../..
 CFLAGS += ${PLUGIN_CFLAGS}
 LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}