couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject git commit: Check for directory
Date Sat, 24 Nov 2012 20:50:22 GMT
Updated Branches:
  refs/heads/docs ee091f488 -> ccb550fec


Check for directory


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ccb550fe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ccb550fe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ccb550fe

Branch: refs/heads/docs
Commit: ccb550fec3110cbd5c13675ba416f53359b77336
Parents: ee091f4
Author: Noah Slater <nslater@apache.org>
Authored: Sat Nov 24 20:50:17 2012 +0000
Committer: Noah Slater <nslater@apache.org>
Committed: Sat Nov 24 20:50:17 2012 +0000

----------------------------------------------------------------------
 share/doc/build/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ccb550fe/share/doc/build/Makefile.am
----------------------------------------------------------------------
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index 976350f..f8d8946 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -242,8 +242,10 @@ install-data-local:
 # @@ check AM_UPDATE_INFO_DIR=no
 uninstall-local:
 	rm -f $(DESTDIR)$(infodir)/$(info_file_inst)
-	if test -n "`which install-info`"; then\
-	    install-info --delete --info-dir=$(DESTDIR)$(infodir) $(info_file_inst) ; \
+	if test -d $(DESTDIR)$(infodir); then \
+	    if test -n "`which install-info`"; then\
+	        install-info --delete --info-dir=$(DESTDIR)$(infodir) $(info_file_inst) ; \
+	    fi \
 	fi
 	rm -f $(DESTDIR)$(localdocdir)/$(pdf_file_inst)
 	for file in $(html_files); do \


Mime
View raw message