[rygel-grilo] Install headers



commit 0f286a8f35f783e079ebd7368efe770254b6b656
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Sun May 16 10:23:09 2010 +0000

    Install headers

 lib/Makefile.am            |   15 ++++++++++-----
 lib/media-server1-server.h |    2 +-
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 470a0bd..ec3531f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -10,22 +10,27 @@ INCLUDES = @DEPS_CFLAGS@
 lib_LTLIBRARIES = libmediaserver1.la
 
 libmediaserver1_la_CFLAGS =	\
-	$(DEPS_CFLAGS)
+	$(DEPS_CFLAGS)		\
+	-I$(srcdir)
 
 libmediaserver1_la_LIBADD =	\
 	$(DEPS_LIBS)
 
 libmediaserver1_la_SOURCES =		\
 	media-server1-introspection.h	\
-	media-server1-common.h		\
-	media-server1-server.h		\
 	media-server1-server-table.c	\
 	media-server1-server.c		\
-	media-server1-client.h		\
 	media-server1-client.c		\
-	media-server1-observer.h	\
 	media-server1-observer.c
 
+libmediaserver1inc_HEADERS =	\
+	media-server1-common.h	\
+	media-server1-server.h	\
+	media-server1-client.h	\
+	media-server1-observer.h
+
+libmediaserver1incdir =	$(includedir)
+
 MAINTAINERCLEANFILES =	\
 	*.in
 
diff --git a/lib/media-server1-server.h b/lib/media-server1-server.h
index a44373a..e2541cc 100644
--- a/lib/media-server1-server.h
+++ b/lib/media-server1-server.h
@@ -26,7 +26,7 @@
 #include <glib.h>
 #include <glib-object.h>
 
-#include <media-server1-common.h>
+#include "media-server1-common.h"
 
 #define MS1_TYPE_SERVER                         \
   (ms1_server_get_type ())



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]