ENDIF (DEFINED LIB)
MESSAGE (STATUS "Libraries will be installed in ${LIB_INSTALL_DIR}")
SET (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
+SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man")
####################################################################
# CONFIGURATION #
ADD_SUBDIRECTORY (bindings)
ENDIF (ENABLE_PERL OR ENABLE_PYTHON OR ENABLE_RUBY)
ADD_SUBDIRECTORY (examples)
+ADD_SUBDIRECTORY (doc)
MESSAGE (STATUS "Version: ${VERSION}")
--- /dev/null
+
+SET (libsolv_MANPAGES
+ libsolv.3 libsolv-bindings.3 libsolv-constantids.3 libsolv-history.3)
+
+INSTALL(FILES
+ ${libsolv_MANPAGES}
+ DESTINATION "${MAN_INSTALL_DIR}/man3")
.RE
.\}
.sp
-As a downside of this approach, iterator objects can have no attributes\&.
+As a downside of this approach, iterator objects cannot have attributes\&.
.sp
If an array needs to be passed to a method it is usually done by reference, if a method returns an array it returns it on the stack:
.sp
my $iter = $pool->solvables_iter();
for my $solvable (@$iter) { ... };
-As a downside of this approach, iterator objects can have no attributes.
+As a downside of this approach, iterator objects cannot have attributes.
If an array needs to be passed to a method it is usually done by reference,
if a method returns an array it returns it on the stack: