couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject git commit: Fixed the way we dist PDF
Date Sun, 02 Dec 2012 19:47:36 GMT
Updated Branches:
  refs/heads/docs ed8079414 -> cad279362


Fixed the way we dist PDF


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

Branch: refs/heads/docs
Commit: cad2793627a57548a4f0183326b3718c8dcc4a2c
Parents: ed80794
Author: Noah Slater <nslater@apache.org>
Authored: Sun Dec 2 19:47:29 2012 +0000
Committer: Noah Slater <nslater@apache.org>
Committed: Sun Dec 2 19:47:29 2012 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/cad27936/share/doc/build/Makefile.am
----------------------------------------------------------------------
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index 86ee2d8..6ffaccd 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -26,7 +26,7 @@ else
 info_file_build =
 endif
 
-pdf_file_dist = latex/CouchDB.pdf
+pdf_file_dist = latex/CouchDB.pdf.gz
 
 pdf_file_inst = CouchDB.pdf.gz
 
@@ -220,8 +220,8 @@ pdf.stamp: $(image_files) $(src_files)
 	$(top_srcdir)/build-aux/sphinx-build \
 	    -b latex $(SPHINXOPTS) $(builddir)/latex
 	$(MAKE) -C latex all-pdf
-	$(top_srcdir)/build-aux/sphinx-touch $(pdf_file_dist)
-	gzip -9 < $(pdf_file_dist) > $(pdf_file_dist).gz
+	$(top_srcdir)/build-aux/sphinx-touch latex/CouchDB.pdf
+	gzip -9 < latex/CouchDB.pdf > $(pdf_file_dist)
 	@mv -f pdf.tmp $@
 
 $(html_files): html.stamp
@@ -259,7 +259,7 @@ install-data-local:
 	if test -s $(pdf_file_dist); then \
 	    $(INSTALL) -d $(DESTDIR)$(localdocdir); \
 	    $(INSTALL_DATA) \
-	        $(pdf_file_dist).gz $(DESTDIR)$(localdocdir)/$(pdf_file_inst); \
+	        $(pdf_file_dist) $(DESTDIR)$(localdocdir)/$(pdf_file_inst); \
 	fi
 	for dist_file in $(html_files); do \
 	    if test -s $$dist_file; then \


Mime
View raw message