From e7b227ea8f2c5476da8f6b61d097bbe54d3c5155 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 13 Jan 2015 13:20:59 +0100 Subject: [PATCH] Remove quirk --- doc/CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 6030fa6b12..dad0c7b507 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2012 - 2014 by the deal.II Authors +## Copyright (C) 2012 - 2015 by the deal.II Authors ## ## This file is part of the deal.II library. ## @@ -51,17 +51,9 @@ ENDIF(DEAL_II_COMPONENT_DOCUMENTATION) # Always install a minimalistic README and LICENSE file: # -# Bloody hack to get an empty relative path: -IF(NOT "${DEAL_II_DOCREADME_RELDIR}" STREQUAL "") - SET(_foo ${DEAL_II_DOCREADME_RELDIR}) -ELSE() - SET(_foo \${__empty}) -ENDIF() - -SET(_destination) INSTALL(FILES ${CMAKE_SOURCE_DIR}/README.md ${CMAKE_SOURCE_DIR}/LICENSE - DESTINATION ${_foo} + DESTINATION ${DEAL_II_DOCREADME_RELDIR} COMPONENT library ) -- 2.39.5