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/system_principles
35
# ----------------------------------------------------
37
# ----------------------------------------------------
38
XML_PART_FILES = part.xml
42
XML_CHAPTER_FILES=$(SYSTEM_PRINCIPLES_CHAPTER_FILES)
51
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
54
# ----------------------------------------------------
56
HTMLDIR = ../html/system_principles
58
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
60
# ----------------------------------------------------
62
# ----------------------------------------------------
66
# ----------------------------------------------------
68
# ----------------------------------------------------
71
local_docs: PDFDIR=../../pdf
73
html: $(GIF_FILES) $(HTML_UG_FILE)
79
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
82
# ----------------------------------------------------
84
# ----------------------------------------------------
85
include $(ERL_TOP)/make/otp_release_targets.mk
87
release_docs_spec: docs
88
# $(INSTALL_DIR) $(RELEASE_PATH)/pdf
89
# $(INSTALL_DATA) $(TOP_PDF_FILE) $(RELEASE_PATH)/pdf
90
$(INSTALL_DIR) $(RELSYSDIR)
91
$(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \