]> git.alsa-project.org Git - tinycompress.git/commitdiff
build: Fix make distcheck
authorArun Raghavan <git@arunraghavan.net>
Thu, 8 Oct 2015 10:41:28 +0000 (11:41 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 8 Oct 2015 11:08:11 +0000 (12:08 +0100)
srcdir may not be the same as builddir, so use the correct variable for
the include path.

Signed-off-by: Arun Raghavan <git@arunraghavan.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
src/lib/Makefile.am
src/utils/Makefile.am

index 6f900ac98a27734fb14430c29506ae7ca1bebe5c..4baeab5dd07adea1b71fd06afb435e5225da30da 100644 (file)
@@ -2,4 +2,4 @@ tinycompressdir = $(libdir)
 
 tinycompress_LTLIBRARIES = libtinycompress.la
 libtinycompress_la_SOURCES = compress.c
-libtinycompress_la_CFLAGS = -I $(top_builddir)/include
+libtinycompress_la_CFLAGS = -I$(top_srcdir)/include
index 6a89c45b2105c136ee85d341e92ebb8ee84c2111..5f685e3b2ffe8c89ee4960f65dc9023d78f7edfa 100644 (file)
@@ -3,8 +3,8 @@ bin_PROGRAMS = cplay crecord
 cplay_SOURCES = cplay.c
 crecord_SOURCES = crec.c
 
-cplay_CFLAGS = -I$(top_builddir)/include
-crecord_CFLAGS = -I$(top_builddir)/include
+cplay_CFLAGS = -I$(top_srcdir)/include
+crecord_CFLAGS = -I$(top_srcdir)/include
 
 
 cplay_LDADD = $(top_builddir)/src/lib/libtinycompress.la