]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove quirk
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 13 Jan 2015 12:20:59 +0000 (13:20 +0100)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 18 Jan 2015 19:08:50 +0000 (20:08 +0100)
doc/CMakeLists.txt

index 6030fa6b122ddc875b4c5c8b76ba0a2d471ee914..dad0c7b507f820e2f1e79465aa82260bcad218c2 100644 (file)
@@ -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
   )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.