Skip to content

Minor fix for Linux/Unix systems #187

@bdheeman

Description

@bdheeman

Build and install needs some fix, please check the diff:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ede7483..176b5e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -209,7 +209,7 @@ if (UNIX)
VERBATIM
)

- install(FILES ${CMAKE_BINARY_DIR}/${TIDY_MANFILE} DESTINATION local/man/man1)
+ install(FILES ${CMAKE_BINARY_DIR}/${TIDY_MANFILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
endif ()
endif ()

diff --git a/build/documentation/tidy1.xsl b/build/documentation/tidy1.xsl
index 5058b97..db2e647 100644
--- a/build/documentation/tidy1.xsl
+++ b/build/documentation/tidy1.xsl
@@ -24,7 +24,7 @@
the $CONFIG variable, declared here:
-->

-<xsl:variable name="CONFIG" select="document('tidy-config.xml')"/>
+<xsl:variable name="CONFIG" select="document('../cmake/tidy-config.xml')"/>


<!-- Main Template: -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions