summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Gibyoung <lastkgb.kim@samsung.com>2013-05-10 11:08:21 (GMT)
committerKim Gibyoung <lastkgb.kim@samsung.com>2013-05-10 11:08:21 (GMT)
commit613fa89256ad3abe6cc18d74142bbdc280750725 (patch)
tree8132f1e41a20e4fae5832184fb0826388e1f0547
parentf6733f88380dc68f7c399a058c211927adda097f (diff)
downloadug-wifi-direct-613fa89256ad3abe6cc18d74142bbdc280750725.zip
ug-wifi-direct-613fa89256ad3abe6cc18d74142bbdc280750725.tar.gz
ug-wifi-direct-613fa89256ad3abe6cc18d74142bbdc280750725.tar.bz2
install SMACK rule file
Change-Id: I7e21049b3467fd256588bd09be52fa58a57c2ccc
-rwxr-xr-xpopup-wifidirect/CMakeLists.txt2
-rwxr-xr-xugapp-wifidirect/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/popup-wifidirect/CMakeLists.txt b/popup-wifidirect/CMakeLists.txt
index 859329b..13dc1aa 100755
--- a/popup-wifidirect/CMakeLists.txt
+++ b/popup-wifidirect/CMakeLists.txt
@@ -8,6 +8,7 @@ SET(RESDIR "${PREFIX}/res")
SET(LOCALEDIR "${RESDIR}/locale")
SET(EDJDIR "${RESDIR}/edje")
SET(IMGDIR "${RESDIR}/images")
+SET(SMACKDIR "/etc/smack/accesses.d")
SET(SRCS
src/wfd-app-main.c
@@ -40,5 +41,6 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.xml ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.xml DESTINATION "/usr/share/packages/")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/resources/images/ DESTINATION ${IMGDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.wifi-direct-popup.rule DESTINATION ${SMACKDIR})
ADD_SUBDIRECTORY(po)
diff --git a/ugapp-wifidirect/CMakeLists.txt b/ugapp-wifidirect/CMakeLists.txt
index a1dff23..0ded413 100755
--- a/ugapp-wifidirect/CMakeLists.txt
+++ b/ugapp-wifidirect/CMakeLists.txt
@@ -8,6 +8,7 @@ SET(RESDIR "${PREFIX}/res")
SET(LOCALEDIR "${RESDIR}/locale")
SET(EDJDIR "${RESDIR}/edje")
SET(IMGDIR "${RESDIR}/images")
+SET(SMACKDIR "/etc/smack/accesses.d")
SET(SRCS
src/wfd-ugapp-main.c
@@ -38,3 +39,4 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
#for appfw new manifest
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.xml ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.xml DESTINATION "/usr/share/packages/")
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.wifi-direct-ugapp.rule DESTINATION ${SMACKDIR})