File: 1001_try_enable_docs_by_default.patch

package info (click to toggle)
janus 1.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,804 kB
  • sloc: ansic: 87,789; javascript: 16,059; makefile: 696; sh: 282; python: 257; lisp: 9
file content (30 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
Description: Try build documentation by default
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-03-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -106,10 +106,10 @@
 ##
 
 AC_ARG_ENABLE([docs],
-              [AS_HELP_STRING([--enable-docs],
-                              [Enable building documentation])],
+              [AS_HELP_STRING([--disable-docs],
+                              [Disable building documentation])],
               [],
-              [enable_docs=no])
+              [enable_docs=maybe])
 
 AC_ARG_ENABLE([data-channels],
               [AS_HELP_STRING([--disable-data-channels],
@@ -505,6 +505,8 @@
       [
         AS_IF([test "x$enable_docs" = "xyes"],
               [AC_MSG_ERROR([doxygen or dot not found. See README.md for installation instructions or remove --enable-docs])])
+      ],[
+        enable_docs=yes
       ])
 AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
 if test "x$enable_docs" = "xyes"; then