Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
d5c6b1e9
Commit
d5c6b1e9
authored
14 years ago
by
nksallem
Browse files
Options
Downloads
Patches
Plain Diff
[modeling/vcglib] delegate doc install to cmake
parent
b1e5c033
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vcglib/Makefile
+4
-16
4 additions, 16 deletions
vcglib/Makefile
vcglib/files/CMakeLists.txt
+12
-3
12 additions, 3 deletions
vcglib/files/CMakeLists.txt
with
16 additions
and
19 deletions
vcglib/Makefile
+
4
−
16
View file @
d5c6b1e9
...
...
@@ -39,25 +39,13 @@ PKG_SUGGESTED_OPTIONS+= doc
PKG_OPTION_DESCR.doc
?=
Install
${
PKGBASE
}
documentation
define
PKG_OPTION_SET.doc
INSTALL_TARGET
+=
doc
INSTALLATION_DIRS
+=
share/doc/vcglib/html
INSTALLATION_DIRS
+=
share/doc/vcglib/examples
DOXYGEN_PLIST_DIR
+=
share/doc/vcglib/html
CMAKE_ARGS
+=
-DDOXYGEN_EXECUTABLE
=
${
DOXYGEN
}
include
../../mk/sysdep/doxygen.mk
include
../../pkgtools/pax/depend.mk
post-install
:
vcglib-install-doc
.PHONY
:
vcglib-install-doc
vcglib-install-doc
:
cd
${
WRKSRC
}
/docs/Doxygen
&&
\
${
PAX
}
-rw
-pm
html
${
PREFIX
}
/share/doc/
${
PKGBASE
}
cd
${
WRKSRC
}
/docs
&&
\
${
PAX
}
-rw
-pm
*
.
*
${
PREFIX
}
/share/doc/
${
PKGBASE
}
cd
${
WRKSRC
}
/apps
&&
\
${
PAX
}
-rw
-pm
.
${
PREFIX
}
/share/doc/
${
PKGBASE
}
/examples
INSTALL_TARGET
+=
install-doc
WRKSRC
=
${
WRKDIR
}
/vcglib
DOXYGEN_PLIST_DIR
+=
share/doc/vcglib/html
CMAKE_ARGS
+=
-DDOXYGEN_EXECUTABLE
=
${
DOXYGEN
}
endef
# doc ----------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
vcglib/files/CMakeLists.txt
+
12
−
3
View file @
d5c6b1e9
cmake_minimum_required
(
VERSION
0.0
)
cmake_minimum_required
(
VERSION
2.6
)
project
(
Ply
CXX
)
project
(
VCGLib
CXX
)
set
(
version 20100824
)
# headers
...
...
@@ -12,8 +12,17 @@ find_package(Doxygen)
if
(
DOXYGEN_FOUND
)
add_custom_target
(
doc
${
DOXYGEN_EXECUTABLE
}
doxyfile
WORKING_DIRECTORY docs/Doxygen
WORKING_DIRECTORY
${
VCGLib_SOURCE_DIR
}
/
docs/Doxygen
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
add_custom_target
(
install-doc
${
CMAKE_COMMAND
}
-E copy_directory
${
VCGLib_SOURCE_DIR
}
/docs/Doxygen/html
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/html
COMMAND
${
CMAKE_COMMAND
}
-E copy
"introduction to vcg.ppt"
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/
COMMAND
${
CMAKE_COMMAND
}
-E copy StyleGuide.html
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/
COMMAND
${
CMAKE_COMMAND
}
-E copy style.txt
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/
COMMAND
${
CMAKE_COMMAND
}
-E copy vcgstructure.txt
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
VCGLib_SOURCE_DIR
}
/apps
${
CMAKE_INSTALL_PREFIX
}
/share/doc/vcglib/examples
WORKING_DIRECTORY
${
VCGLib_SOURCE_DIR
}
/docs
COMMENT
"Installing documentation"
VERBATIM
)
add_dependencies
(
install-doc doc
)
endif
(
DOXYGEN_FOUND
)
# libply
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment