diff src/amidi-plug/backend-alsa/Makefile @ 2006:a56a26a5f233

Revised the plugindir logic.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 01:40:13 +0300
parents e2904348f154
children 1ad002ce1bd0
line wrap: on
line diff
--- a/src/amidi-plug/backend-alsa/Makefile	Tue Oct 09 22:39:32 2007 +0300
+++ b/src/amidi-plug/backend-alsa/Makefile	Wed Oct 10 01:40:13 2007 +0300
@@ -1,6 +1,4 @@
 PLUGIN = ap-alsa$(PLUGIN_SUFFIX)
-plugindir = audacious/$(AMIDIPLUG_BACKEND_DIR)
-
 noinst_HEADERS = b-alsa.h b-alsa-config.h backend-alsa-icon.xpm
 
 SRCS = b-alsa.c
@@ -8,6 +6,8 @@
 include ../../../buildsys.mk
 include ../../../extra.mk
 
+plugindir := $(plugindir)/$(AMIDIPLUG_BACKEND_DIR)
+
 CFLAGS += $(PLUGIN_CFLAGS) $(ALSA_CFLAGS)
 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(ALSA_CFLAGS) $(GLIB_CFLAGS) -I../../..
 LIBS += $(ALSA_LIBS) ../pcfg/libpcfg.a