[beast: 6/8] BSE: res/: fix resource file paths



commit c70c36cf3e821e3216f1f057c58dfa3328b59b43
Author: Tim Janik <timj gnu org>
Date:   Fri Jan 30 05:55:44 2015 +0100

    BSE: res/: fix resource file paths

 bse/res/Makefile.am |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/bse/res/Makefile.am b/bse/res/Makefile.am
index efb1f10..d9274d2 100644
--- a/bse/res/Makefile.am
+++ b/bse/res/Makefile.am
@@ -5,23 +5,20 @@ AM_CPPFLAGS += -I$(top_srcdir) -I$(top_builddir)
 AM_CXXFLAGS += $(BSE_CFLAGS) -DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS
 RAPIDRES     = rapidres
 
-RESOURCES = $(strip \
-       $(srcdir)/gus-patch.bse         \
-       $(srcdir)/adsr-wave-1.bse       \
-       $(srcdir)/adsr-wave-2.bse       \
-       $(srcdir)/plain-wave-1.bse      \
-       $(srcdir)/plain-wave-2.bse      \
+RESOURCES = $(strip            \
+       gus-patch.bse           \
+       adsr-wave-1.bse         \
+       adsr-wave-2.bse         \
+       plain-wave-1.bse        \
+       plain-wave-2.bse        \
 )
 
 gen_sources = xgen-bzc xgen-bzh
 CLEANFILES += $(gen_sources) bse-resources.cc
 noinst_DATA = bse-resources.cc
-EXTRA_DIST += $(filter %.bse, $(RESOURCES))
+EXTRA_DIST += $(RESOURCES)
 
 bse-resources.cc: $(srcdir)/*.bse
-       $(RAPIDRES) $(RESOURCES) > xgen-bzc                                             \
+       (cd $(srcdir) && $(RAPIDRES) $(RESOURCES) ) > xgen-bzc                          \
        && cp xgen-bzc $@                                                               \
        && rm -f xgen-bzc
-
-# need -I$(top_srcdir) for <gsl/gsldefs.h>
-# need -I. for "../topconfig.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]