shithub: aubio

Download patch

ref: dba3b1ace5cebfb9714e8f32f13d056040a6db77
parent: cdebe31d16792c56d32d0b6f25d8fa6276a75079
author: Paul Brossier <piem@altern.org>
date: Mon Aug 8 20:47:11 EDT 2005

added srcdir

--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -22,7 +22,7 @@
 
 doc-examples: 
 	doxygen examples.cfg
-	
+
 %.sgml: 
 
 %.1:	%.sgml
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -40,3 +40,5 @@
 
 AM_CFLAGS = @SNDLIB_CFLAGS@ @JACK_CFLAGS@ @FFTWLIB_CFLAGS@ @SAMPLERATE_CFLAGS@ @ALSA_CFLAGS@ @LADCCA_CFLAGS@
 libaubioext_la_LIBADD = @SNDLIB_LIBS@ @JACK_LIBS@ @FFTWLIB_LIBS@ @SAMPLERATE_LIBS@ @ALSA_LIBS@ @LADCCA_LIBS@ @LTLIBOBJS@
+
+INCLUDES = -I$(srcdir)/../src
--- a/plugins/puredata/Makefile.am
+++ b/plugins/puredata/Makefile.am
@@ -22,7 +22,7 @@
 
 INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
 
-AM_CFLAGS = -I../../src \
+AM_CFLAGS = -I$(srcdir)/../../src \
     -DPD -O2 -funroll-loops -fomit-frame-pointer \
     -Wall -W -Wshadow -Wstrict-prototypes -Werror \
     -Wno-unused -Wno-parentheses -Wno-switch
@@ -38,3 +38,4 @@
 noinst_SCRIPTS = libtoolkludge
 
 EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS)
+
--- a/sounds/Makefile.am
+++ b/sounds/Makefile.am
@@ -3,8 +3,9 @@
 
 install-data-local:
 	$(mkinstalldirs) "$(DESTDIR)$(datadir)/sounds/aubio/"
-	$(INSTALL_DATA) woodblock.aiff "$(DESTDIR)$(datadir)/sounds/aubio"
+	$(INSTALL_DATA) $(srcdir)/woodblock.aiff "$(DESTDIR)$(datadir)/sounds/aubio"
 
 
 uninstall-local:
 	rm -rf "$(DESTDIR)$(datadir)/sounds/aubio"
+