Files
impala/docs/Makefile
Jim Apple 83f777da71 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 <tarmstrong@cloudera.com>
Reviewed-by: Greg Rahn <grahn@cloudera.com>
Tested-by: Jim Apple <jbapple-impala@apache.org>
2016-12-01 19:34:29 +00:00

29 lines
1.1 KiB
Makefile

# 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 $<