[libbluray-devel] build: use pkginclude for headers instead of the abomination that was used

Diego Elio Pettenò git at videolan.org
Tue Feb 19 15:14:51 CET 2013


libbluray | branch: master | Diego Elio Pettenò <flameeyes at flameeyes.eu> | Thu Feb 14 18:22:39 2013 -0800| [5da9d802c388193485b3f48956a5a8db7cbc842a] | committer: hpi1

build: use pkginclude for headers instead of the abomination that was used

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=5da9d802c388193485b3f48956a5a8db7cbc842a
---

 src/Makefile.am |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 98e7dde..a2f39ae 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,7 +23,6 @@ SOURCES_bdj = libbluray/bdj/bdj.h \
 EXTRA_DIST = libbluray/bdj/build.xml libbluray/bdj/java
 
 lib_LTLIBRARIES=libbluray.la
-libbluray_ladir= $(includedir)/libbluray
 libbluray_la_SOURCES=libbluray/bluray.h \
 	libbluray/bluray.c \
 	libbluray/bluray_internal.h \
@@ -90,10 +89,19 @@ libbluray_la_SOURCES=libbluray/bluray.h \
 	util/bits.h \
 	util/bits.c \
 	util/logging.h
-libbluray_la_HEADERS= libbluray/bluray.h file/filesystem.h util/log_control.h libbluray/keys.h libbluray/decoders/overlay.h libbluray/bdnav/meta_data.h libbluray/bdnav/clpi_data.h libbluray/bluray-version.h
 libbluray_la_LDFLAGS= -version-info $(LT_VERSION_INFO)
 libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS)
 
+pkginclude_HEADERS = \
+	file/filesystem.h \
+	libbluray/bdnav/clpi_data.h \
+	libbluray/bdnav/meta_data.h \
+	libbluray/bluray-version.h \
+	libbluray/bluray.h \
+	libbluray/decoders/overlay.h \
+	libbluray/keys.h \
+	util/log_control.h
+
 if USING_BDJAVA
 
 jardir=$(libdir)/libbluray/



More information about the libbluray-devel mailing list