4
# Copyright Ericsson AB 1996-2009. All Rights Reserved.
6
# The contents of this file are subject to the Erlang Public License,
7
# Version 1.1, (the "License"); you may not use this file except in
8
# compliance with the License. You should have received a copy of the
9
# Erlang Public License along with this software. If not, it can be
10
# retrieved online at http://www.erlang.org/.
12
# Software distributed under the License is distributed on an "AS IS"
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
# the License for the specific language governing rights and limitations
20
include $(ERL_TOP)/make/target.mk
21
include $(ERL_TOP)/make/$(TARGET)/otp.mk
23
# ----------------------------------------------------
25
# ----------------------------------------------------
26
include $(ERL_TOP)/erts/vsn.mk
29
APPLICATION=otp-system-documentation
30
# ----------------------------------------------------
31
# Release directory specification
32
# ----------------------------------------------------
33
RELSYSDIR = $(RELEASE_PATH)/doc/getting_started
35
# ----------------------------------------------------
37
# ----------------------------------------------------
38
XML_PART_FILES = part.xml
42
XML_CHAPTER_FILES = $(GETTING_STARTED_CHAPTER_FILES)
50
PS_FILES = $(GIF_FILES:%.gif=%.ps)
53
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
55
# ----------------------------------------------------
58
$(XML_PART_FILES:%.xml=%.html)
60
HTMLDIR = ../html/getting_started
63
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
66
# ----------------------------------------------------
68
# ----------------------------------------------------
72
# ----------------------------------------------------
74
# ----------------------------------------------------
77
local_docs: PDFDIR=../../pdf
79
html: $(GIF_FILES) $(HTML_UG_FILE)
85
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
88
# ----------------------------------------------------
90
# ----------------------------------------------------
91
include $(ERL_TOP)/make/otp_release_targets.mk
93
release_docs_spec: docs
94
# $(INSTALL_DIR) $(RELEASE_PATH)/pdf
95
# $(INSTALL_DATA) $(TOP_PDF_FILE) $(RELEASE_PATH)/pdf
96
$(INSTALL_DIR) $(RELSYSDIR)
97
$(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \