4
# Copyright Ericsson AB 1997-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
28
APPLICATION=otp-system-documentation
29
# ----------------------------------------------------
30
# Release directory specification
31
# ----------------------------------------------------
32
RELSYSDIR = $(RELEASE_PATH)/doc/design_principles
34
# ----------------------------------------------------
36
# ----------------------------------------------------
37
XML_PART_FILES = part.xml
41
XML_CHAPTER_FILES=$(DESIGN_PRINCIPLES_CHAPTER_FILES)
61
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
64
# ----------------------------------------------------
67
$(XML_PART_FILES:%.xml=%.html)
69
HTMLDIR = ../html/design_principles
71
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
73
# ----------------------------------------------------
75
# ----------------------------------------------------
79
# ----------------------------------------------------
81
# ----------------------------------------------------
82
$(HTMLDIR)/%.gif: %.gif
87
local_docs: PDFDIR=../../pdf
89
html: $(HTML_UG_FILE) gifs
91
gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
97
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
100
# ----------------------------------------------------
102
# ----------------------------------------------------
103
include $(ERL_TOP)/make/otp_release_targets.mk
105
release_docs_spec: docs
106
# $(INSTALL_DIR) $(RELEASE_PATH)/pdf
107
# $(INSTALL_DATA) $(TOP_PDF_FILE) $(RELEASE_PATH)/pdf
108
$(INSTALL_DIR) $(RELSYSDIR)
109
$(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \