[libgit2-glib] Ignore ssh related headers for docs if ssh is disabled
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Ignore ssh related headers for docs if ssh is disabled
- Date: Wed, 10 Sep 2014 08:16:51 +0000 (UTC)
commit b4834248aa8150db8fc43449d38d22ee630d89ac
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Sep 10 09:49:55 2014 +0200
Ignore ssh related headers for docs if ssh is disabled
docs/reference/Makefile.am | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index cd13b36..4b69e2d 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -18,11 +18,18 @@ HFILE_GLOB = $(top_srcdir)/libgit2-glib/*.h
CFILE_GLOB = $(top_srcdir)/libgit2-glib/*.c
# Headers to ignore
-IGNORE_HFILES = \
+IGNORE_HFILES = \
config.h \
ggit-convert.h \
ggit-utils.h
+if GIT_SSH
+else
+IGNORE_HFILES += \
+ ggit-cred-ssh-interactive.h \
+ ggit-cred-ssh-key-from-agent.h
+endif
+
update-sections: $(HFILE_GLOB)
@echo 'gtk-doc: Scanning header files'
cp $(DOC_MODULE)-sections.txt $(DOC_MODULE)-sections.txt.old && \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]