You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2012/11/24 19:27:48 UTC
git commit: Handle empty info files
Updated Branches:
refs/heads/docs eb94e96d3 -> 620e3eaee
Handle empty info files
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/620e3eae
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/620e3eae
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/620e3eae
Branch: refs/heads/docs
Commit: 620e3eaeedefbb84c5b05f71c963fe2bcf119fbd
Parents: eb94e96
Author: Noah Slater <ns...@apache.org>
Authored: Sat Nov 24 18:27:44 2012 +0000
Committer: Noah Slater <ns...@apache.org>
Committed: Sat Nov 24 18:27:44 2012 +0000
----------------------------------------------------------------------
share/doc/build/Makefile.am | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/620e3eae/share/doc/build/Makefile.am
----------------------------------------------------------------------
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index fccbe04..4638c03 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -215,9 +215,13 @@ html-local:
# @@ check AM_UPDATE_INFO_DIR=no
install-data-local:
$(INSTALL) -d $(DESTDIR)$(infodir)
- $(INSTALL_DATA) $(info_file) $(DESTDIR)$(infodir)/$(info_name);
- if test -n "`which install-info`"; then\
- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$(info_name); \
+ if test -s $(info_file); then \
+ $(INSTALL_DATA) $(info_file) $(DESTDIR)$(infodir)/$(info_name); \
+ if test -n "`which install-info`"; then\
+ install-info \
+ --info-dir=$(DESTDIR)$(infodir) \
+ $(DESTDIR)$(infodir)/$(info_name); \
+ fi
fi
# @@ check AM_UPDATE_INFO_DIR=no