Skip to contentSkip to conversation

build: Fix make distcheck

PATCH Applied [email protected] 2 participants 2 messages Oct 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Fix make distcheck

From: Arun Raghavan <[email protected]>

srcdir may not be the same as builddir, so use the correct variable for the include path.

---
 src/lib/Makefile.am   | 2 +-
 src/utils/Makefile.am | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
src/lib/Makefile.am +1 -1
index 6f900ac..4baeab5 100644
@@ -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
src/utils/Makefile.am +2 -2
index 6a89c45..5f685e3 100644
@@ -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
Signature · 1 line
2.4.3
Applied
#1 lore raw
Quoted 4 lines · On Thu, 2015-10-08 at 11:41 +0100, [email protected] wrote:

From: Arun Raghavan <[email protected]>

srcdir may not be the same as builddir, so use the correct variable for the include path.

Applied, thanks

Signature · 1 line
~Vinod