Repository: incubator-impala
Updated Branches:
  refs/heads/master b1edca2a5 -> 83f777da7


Start a docs build system.

The docs can be built by running "make" from the docs directory. This
does not hook into buildall.sh for now, as users who run buildall.sh
do not usually edit docs/.

Change-Id: I9551b75268cb7cb29a58367a3ef03b127dccbfca
Reviewed-on: http://gerrit.cloudera.org:8080/5238
Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com>
Reviewed-by: Greg Rahn <gr...@cloudera.com>
Tested-by: Jim Apple <jbapple-imp...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/83f777da
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/83f777da
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/83f777da

Branch: refs/heads/master
Commit: 83f777da71c46e2a8eb6c14cdf0442f66bf6baa4
Parents: b1edca2
Author: Jim Apple <jbapple-imp...@apache.org>
Authored: Sun Nov 27 06:53:00 2016 -0800
Committer: Jim Apple <jbapple-imp...@apache.org>
Committed: Thu Dec 1 19:34:29 2016 +0000

----------------------------------------------------------------------
 docs/.gitignore |  2 ++
 docs/Makefile   | 28 ++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/83f777da/docs/.gitignore
----------------------------------------------------------------------
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000..b6e5611
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,2 @@
+!Makefile
+build/

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/83f777da/docs/Makefile
----------------------------------------------------------------------
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..9dcb392
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+.PHONY: all
+
+all: build/html/index.html build/impala.pdf
+
+ALL_DEPS=Makefile impala.ditamap shared/*.xml images/* topics/*.xml
+
+build/html/index.html: impala_html.ditaval ${ALL_DEPS}
+       dita -i impala.ditamap -f html5 -o $(dir $@) -filter $<
+
+build/impala.pdf: impala_pdf.ditaval ${ALL_DEPS}
+       dita -i impala.ditamap -f pdf -o $(dir $@) -filter $<

Reply via email to