File: 0001-build-Doxygen.patch

package info (click to toggle)
mlpack 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,072 kB
  • sloc: cpp: 131,066; python: 1,032; sh: 180; makefile: 40
file content (25 lines) | stat: -rw-r--r-- 778 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
Date: Sat, 5 Apr 2014 13:18:23 +0100
Subject: build Doxygen

This patch causes the build system to generate refman.tex.
The same effect can be had by adding the command
 $(MAKE) -C obj-* doc
to the debian/rules override_dh_auto_build target.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c5ffbe..81569f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -480,7 +480,7 @@ if (DOXYGEN_FOUND)
   )
 
   # Generate documentation.
-  add_custom_target(doc
+  add_custom_target(doc ALL
       COMMAND "${DOXYGEN_EXECUTABLE}" "${CMAKE_BINARY_DIR}/Doxyfile"
       DEPENDS "${CMAKE_BINARY_DIR}/Doxyfile"
       WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"