diff options
author | Christian Muck <christian.muck@bmw.de> | 2011-09-23 16:01:49 +0200 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2011-09-23 16:01:49 +0200 |
commit | b583f0f6c6df778343aaa6398315da98da208f28 (patch) | |
tree | cacd4a67ac4fa937664cfe95cf69077c0af25588 /testscripts | |
parent | 9d15d7764820241eb7616fa04c8295316e2f1c98 (diff) | |
download | DLT-daemon-b583f0f6c6df778343aaa6398315da98da208f28.tar.gz |
Fixed some packaging bugs
Diffstat (limited to 'testscripts')
-rwxr-xr-x | testscripts/CMakeLists.txt | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/testscripts/CMakeLists.txt b/testscripts/CMakeLists.txt index 16d618f..d81b036 100755 --- a/testscripts/CMakeLists.txt +++ b/testscripts/CMakeLists.txt @@ -34,37 +34,3 @@ # # @licence end@ ######## -if(UNIX) - if(CMAKE_SYSTEM_NAME MATCHES "Linux") - if(EXISTS "/etc/issue") - FILE(READ "/etc/issue" LINUX_ISSUE) - # Fedora case - if(LINUX_ISSUE MATCHES "Fedora") - set(DISTRIBUTION "Fedora") - endif(LINUX_ISSUE MATCHES "Fedora") - # Ubuntu case - if(LINUX_ISSUE MATCHES "Ubuntu") - set(DISTRIBUTION "Ubuntu") - endif(LINUX_ISSUE MATCHES "Ubuntu") - # Debian case - if(LINUX_ISSUE MATCHES "Debian") - set(DISTRIBUTION "Debian") - endif(LINUX_ISSUE MATCHES "Debian") - # Open SuSE case - if(LINUX_ISSUE MATCHES "SUSE") - set(DISTRIBUTION "SUSE") - endif(LINUX_ISSUE MATCHES "SUSE") - if(LINUX_ISSUE MATCHES "Meego") - set(DISTRIBUTION "Meego") - endif(LINUX_ISSUE MATCHES "Meego") - - install(PROGRAMS ${DISTRIBUTION}/dlt-daemon - DESTINATION /etc/init.d/ - COMPONENT base) - - endif(EXISTS "/etc/issue") - endif(CMAKE_SYSTEM_NAME MATCHES "Linux") -endif(UNIX) - - - |