From 07634f6879e73c4f0452b9100358dfde340b1bef Mon Sep 17 00:00:00 2001 From: Todor Tomov Date: Wed, 16 Feb 2011 14:33:33 +0200 Subject: Install header files to subdir Install media.h and subdev.h header files to mediactl/ subdirectory. Signed-off-by: Todor Tomov --- debian/libmedia-dev.install | 2 +- debian/libsubdev-dev.install | 2 +- src/Makefile.am | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/libmedia-dev.install b/debian/libmedia-dev.install index 1a1225a..34a9753 100644 --- a/debian/libmedia-dev.install +++ b/debian/libmedia-dev.install @@ -1,4 +1,4 @@ -usr/include/media.h +usr/include/mediactl/media.h usr/lib/libmedia.a usr/lib/libmedia.so usr/lib/libmedia.la diff --git a/debian/libsubdev-dev.install b/debian/libsubdev-dev.install index 3cf4396..1c5ad4e 100644 --- a/debian/libsubdev-dev.install +++ b/debian/libsubdev-dev.install @@ -1,4 +1,4 @@ -usr/include/subdev.h +usr/include/mediactl/subdev.h usr/lib/libsubdev.a usr/lib/libsubdev.so usr/lib/libsubdev.la diff --git a/src/Makefile.am b/src/Makefile.am index d811f08..5937f41 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,8 @@ lib_LTLIBRARIES = libmedia.la libsubdev.la libmedia_la_SOURCES = media.c libsubdev_la_SOURCES = subdev.c -include_HEADERS = media.h subdev.h +mediactl_includedir=$(includedir)/mediactl +mediactl_include_HEADERS = media.h subdev.h bin_PROGRAMS = media-ctl media_ctl_SOURCES = main.c options.c options.h tools.h -- cgit v1.2.3