Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
98267c43
Commit
98267c43
authored
Jun 02, 2009
by
faa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct path for mime in linux, add scripts in CMakeLists.txt
parent
607054a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
16 deletions
+24
-16
CMakeLists.txt
CMakeLists.txt
+24
-16
No files found.
CMakeLists.txt
View file @
98267c43
...
...
@@ -185,41 +185,49 @@ install(FILES INSTALL.txt
install
(
FILES freeroute.jnlp
DESTINATION
${
KICAD_BIN
}
COMPONENT resources
)
###
# Install scripts
###
if
(
UNIX
)
install
(
DIRECTORY scripts
DESTINATION
${
KICAD_DOCS
}
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
endif
(
UNIX
)
###
# FreeDesktop .desktop and MIME resources
###
if
(
UNIX
)
# Set paths
set
(
UNIX_MIME_DIR resources/linux/mime
)
set
(
UNIX_MIMELNK_FILES
${
UNIX_MIME_DIR
}
/mimelnk
)
set
(
UNIX_MIME_FILES
${
UNIX_MIME_DIR
}
/mime
)
set
(
UNIX_MIME_DIR
resources/linux/mime
)
set
(
UNIX_MIMELNK_FILES
${
UNIX_MIME_DIR
}
/mimelnk
)
set
(
UNIX_MIME_FILES
${
UNIX_MIME_DIR
}
/mime
)
set
(
UNIX_ICONS_FILES
${
UNIX_MIME_DIR
}
/icons
)
set
(
UNIX_APPLICATIONS_FILES
${
UNIX_MIME_DIR
}
/applications
)
# Install Mimelnk directory
install
(
DIRECTORY
${
UNIX_MIMELNK_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
/mimelnk
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
# Install Mime directory
install
(
DIRECTORY
${
UNIX_ICONS_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
/mime
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
# Install Icons
install
(
DIRECTORY
${
UNIX_
ICONS
_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
/icons
# Install Icons
install
(
DIRECTORY
${
UNIX_
MIME
_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
# Install Applications directory (.desktop files)
install
(
DIRECTORY
${
UNIX_APPLICATIONS_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
# Install Applications directory (.desktop files)
install
(
DIRECTORY
${
UNIX_APPLICATIONS_FILES
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share
COMPONENT resources
PATTERN
".svn"
EXCLUDE
)
endif
(
UNIX
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment