4
# Copyright Ericsson AB 2003-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/programming_examples
35
# ----------------------------------------------------
37
# ----------------------------------------------------
38
XML_PART_FILES = part.xml
42
XML_CHAPTER_FILES=$(PROG_EX_CHAPTER_FILES)
53
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
55
# ----------------------------------------------------
58
$(XML_PART_FILES:%.xml=%.html)
60
HTMLDIR = ../html/programming_examples
62
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
64
# ----------------------------------------------------
66
# ----------------------------------------------------
70
# ----------------------------------------------------
72
# ----------------------------------------------------
74
local_docs: PDFDIR=../../pdf
76
html: $(GIF_FILES) $(HTML_UG_FILE)
82
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
85
# ----------------------------------------------------
87
# ----------------------------------------------------
88
include $(ERL_TOP)/make/otp_release_targets.mk
90
release_docs_spec: docs
91
$(INSTALL_DIR) $(RELSYSDIR)
92
$(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \