summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-02-16 14:33:33 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-17 14:32:44 +0100
commit07634f6879e73c4f0452b9100358dfde340b1bef (patch)
treea185805a7602bfa8590f540d0a38de535d98b658
parentdcec5cd33126153292489ebd21ed0bd6cb86ea71 (diff)
Install header files to subdir
Install media.h and subdev.h header files to mediactl/ subdirectory. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
-rw-r--r--debian/libmedia-dev.install2
-rw-r--r--debian/libsubdev-dev.install2
-rw-r--r--src/Makefile.am3
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