From ef81cd42b810c1965d4245d0b1f43fa187624ac0 Mon Sep 17 00:00:00 2001 From: Daehyeon Jung Date: Wed, 24 Apr 2019 14:21:32 +0900 Subject: [PATCH] Change header location to fit standard Change-Id: I2386d4a6fed681e1b889c7a10ad53364b7fa4171 Signed-off-by: Daehyeon Jung --- CMakeLists.txt | 2 +- include/CPPLINT.cfg | 1 + packaging/capi-appfw-capmgr.spec | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 include/CPPLINT.cfg diff --git a/CMakeLists.txt b/CMakeLists.txt index 25bcfdc..7aaee37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ PROJECT(capi-appfw-capmgr) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(EXEC_PREFIX "\${prefix}") SET(LIBDIR ${LIB_INSTALL_DIR}) -SET(INCLUDEDIR "\${prefix}/include") +SET(INCLUDEDIR "\${prefix}/include/appfw") ## Compiler flags SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -ffunction-sections -fdata-sections -fmerge-all-constants") diff --git a/include/CPPLINT.cfg b/include/CPPLINT.cfg new file mode 100644 index 0000000..8c05dd1 --- /dev/null +++ b/include/CPPLINT.cfg @@ -0,0 +1 @@ +filter=-whitespace/line_length diff --git a/packaging/capi-appfw-capmgr.spec b/packaging/capi-appfw-capmgr.spec index 5d90a34..dbbdd6c 100644 --- a/packaging/capi-appfw-capmgr.spec +++ b/packaging/capi-appfw-capmgr.spec @@ -61,8 +61,8 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %{_bindir}/capmgr-test %files devel -%{_includedir}/capability_manager.h -%{_includedir}/capability_manager_internal.h +%{_includedir}/appfw/capability_manager.h +%{_includedir}/appfw/capability_manager_internal.h %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so -- 2.7.4