[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] define installed headers correctly
From: |
Andrei Kholodnyi |
Subject: |
[PATCH] define installed headers correctly |
Date: |
Sat, 18 Sep 2010 16:48:29 +0200 |
From: William Hubbs <address@hidden>
To: address@hidden
This fixes the way the installed header files are defined in the c api.
We should use include_HEADERS for this.
---
src/api/c/Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/c/Makefile.am b/src/api/c/Makefile.am
index 5c8129f..3ecf29a 100644
--- a/src/api/c/Makefile.am
+++ b/src/api/c/Makefile.am
@@ -1,12 +1,12 @@
inc_local = "-I$(top_srcdir)/include/"
-AM_CFLAGS = @ERROR_CFLAGS@ -D_GNU_SOURCE -I/usr/include/ $(inc_local)
$(GLIB_CFLAGS) -DSPD_SPAWN_CMD=\""@prefix@/bin/speech-dispatcher"\"
+include_HEADERS = libspeechd.h
+
+AM_CFLAGS = @ERROR_CFLAGS@ -D_GNU_SOURCE -I/usr/include/ $(inc_local)
$(GLIB_CFLAGS) -DSPD_SPAWN_CMD=\""@prefix@/bin/speech-dispatcher"\"
lib_LTLIBRARIES = libspeechd.la
-libspeechd_la_SOURCES = libspeechd.c
-libspeechd_la_HEADERS = libspeechd.h
-libspeechd_ladir = $(includedir)
+libspeechd_la_SOURCES = libspeechd.c libspeechd.h
libspeechd_la_LDFLAGS = -version-info
@LIB_SPD_CURRENT@:@LIB_SPD_REVISION@:@LIB_SPD_AGE@ -lpthread
libspeechd_la_LIBADD = $(GLIB_LIBS)
--
1.6.0.4
- [PATCH] define installed headers correctly,
Andrei Kholodnyi <=