[Pkg-voip-commits] [janus] 02/04: Add patch 1001 to try build documentation by default.

Jonas Smedegaard dr at jones.dk
Thu Mar 16 12:07:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository janus.

commit fe270b3dade47a8dbe951324f366c6f653a59ac5
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Mar 16 12:42:02 2017 +0100

    Add patch 1001 to try build documentation by default.
---
 .../patches/1001_try_enable_docs_by_default.patch  | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/1001_try_enable_docs_by_default.patch b/debian/patches/1001_try_enable_docs_by_default.patch
new file mode 100644
index 0000000..60e2ae2
--- /dev/null
+++ b/debian/patches/1001_try_enable_docs_by_default.patch
@@ -0,0 +1,29 @@
+Description: Try build documentation by default
+Author: Jonas Smedegaard <dr at jones.dk>
+Last-Update: 2017-03-16
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,10 +35,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([rest],
+               [AS_HELP_STRING([--disable-rest],
+@@ -255,7 +255,7 @@
+         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])])
+       ])
+-AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
++AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" != "xno"])
+ 
+ AC_CHECK_PROG([GENGETOPT_CHECK],
+               [gengetopt],
diff --git a/debian/patches/series b/debian/patches/series
index 41b91cb..a6ae120 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+1001_try_enable_docs_by_default.patch
 2001_use_snakeoil_cert.patch
 2002_avoid_tmp.patch
 2003_use_packaged_javascript.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list