Skip to content

Commit

Permalink
Prevent make install dirty the root filesystem, stick to the prefix
Browse files Browse the repository at this point in the history
(pull #89)

Signed-off-by: Andrea Arcangeli <andrea@kernel.org>
  • Loading branch information
aagit authored and szszszsz committed Aug 30, 2016
1 parent dd77fc2 commit a78f44a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROJECT(NitrokeyApp)
SET(PROJECT_VERSION "0.3.2")
#ADD_DEFINITIONS(-DSEAFILE_CLIENT_VERSION=${PROJECT_VERSION})

OPTION(HAVE_LIBAPPINDICATOR "Compile support for libappindicator" YES)
OPTION(HAVE_LIBAPPINDICATOR "Compile support for libappindicator" NO)

INCLUDE(FindPkgConfig)

Expand Down Expand Up @@ -218,27 +218,27 @@ IF(NOT WIN32)

# Install Nitrokey udev rules
install(FILES
${CMAKE_SOURCE_DIR}/data/40-nitrokey.rules
DESTINATION /usr/lib/udev/rules.d
${CMAKE_SOURCE_DIR}/data/40-nitrokey.rules
DESTINATION usr/lib/udev/rules.d
)

# Install autocompletion scripts
install(FILES
${CMAKE_SOURCE_DIR}/data//bash-autocomplete/nitrokey-app
DESTINATION /etc/bash_completion.d
${CMAKE_SOURCE_DIR}/data//bash-autocomplete/nitrokey-app
DESTINATION etc/bash_completion.d
)

install(FILES
${CMAKE_SOURCE_DIR}/po/de_DE/nitrokey-app.mo
DESTINATION /usr/share/locale/de_DE/LC_MESSAGES
${CMAKE_SOURCE_DIR}/po/de_DE/nitrokey-app.mo
DESTINATION share/locale/de_DE/LC_MESSAGES
)

install(FILES
${CMAKE_SOURCE_DIR}/images/info.png
${CMAKE_SOURCE_DIR}/images/quit.png
${CMAKE_SOURCE_DIR}/images/safe_zahlenkreis.png
${CMAKE_SOURCE_DIR}/images/settings.png
DESTINATION /usr/share/nitrokey
DESTINATION share/nitrokey
)

ENDIF () # NOT WIN32
Expand Down

0 comments on commit a78f44a

Please sign in to comment.