shithub: aubio

Download patch

ref: 735c4c4e77bbe24e29e40b58b1a15cf556568624
parent: 12bdd63a900a9e0c904cbc9876c18a3bb41f5710
author: Paul Brossier <[email protected]>
date: Mon Aug 8 23:06:47 EDT 2005

completed fix for srcdir

--- a/plugins/puredata/Makefile.am
+++ b/plugins/puredata/Makefile.am
@@ -18,7 +18,7 @@
 
 pdincludedir = $(pddir)/src
 
-LIBTOOL=$(SHELL) ./libtoolkludge
+LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge
 
 INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
 
--- a/python/aubio/Makefile.am
+++ b/python/aubio/Makefile.am
@@ -10,7 +10,7 @@
 # removed -Wall -Wmissing-prototypes -Wmissing-declarations 
 CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \
 	-Wno-unknown-pragmas $(SWCFLAGS) \
-	-I$(srcdir)/../../src -I$(srcdir)/../../ext \
+	-I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \
 	-I/usr/include/python${PYTHON_VERSION} \
 	-I${prefix}/include/python${PYTHON_VERSION} \
 	-I/usr/include \
@@ -19,7 +19,7 @@
 LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
 
 aubio_wrap.c:
-	$(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
+	$(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../swig/aubio.i
 
 _aubiowrapper.so: aubio_wrap.c
 	$(CC) $(CFLAGS) -c aubio_wrap.c