~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to system/doc/design_principles/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# %CopyrightBegin%
 
3
 
4
# Copyright Ericsson AB 1997-2009. All Rights Reserved.
 
5
 
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/.
 
11
 
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
 
15
# under the License.
 
16
 
17
# %CopyrightEnd%
 
18
#
 
19
#
 
20
include $(ERL_TOP)/make/target.mk
 
21
include $(ERL_TOP)/make/$(TARGET)/otp.mk
 
22
 
 
23
# ----------------------------------------------------
 
24
# Application version
 
25
# ----------------------------------------------------
 
26
include $(ERL_TOP)/erts/vsn.mk
 
27
 
 
28
APPLICATION=otp-system-documentation
 
29
# ----------------------------------------------------
 
30
# Release directory specification
 
31
# ----------------------------------------------------
 
32
RELSYSDIR = $(RELEASE_PATH)/doc/design_principles
 
33
 
 
34
# ----------------------------------------------------
 
35
# Target Specs
 
36
# ----------------------------------------------------
 
37
XML_PART_FILES = part.xml
 
38
 
 
39
include xmlfiles.mk 
 
40
 
 
41
XML_CHAPTER_FILES=$(DESIGN_PRINCIPLES_CHAPTER_FILES)
 
42
 
 
43
TOPDOCDIR=..
 
44
 
 
45
BOOK_FILES = book.xml
 
46
 
 
47
GIF_FILES = \
 
48
        note.gif \
 
49
        clientserver.gif \
 
50
        dist1.gif \
 
51
        dist2.gif \
 
52
        dist3.gif \
 
53
        dist4.gif \
 
54
        dist5.gif \
 
55
        inclappls.gif \
 
56
        sup4.gif \
 
57
        sup5.gif \
 
58
        sup6.gif
 
59
 
 
60
XML_FILES = \
 
61
        $(BOOK_FILES) $(XML_CHAPTER_FILES) \
 
62
        $(XML_PART_FILES) 
 
63
 
 
64
# ----------------------------------------------------
 
65
 
 
66
HTML_FILES = \
 
67
        $(XML_PART_FILES:%.xml=%.html)
 
68
 
 
69
HTMLDIR = ../html/design_principles
 
70
 
 
71
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
 
72
 
 
73
# ----------------------------------------------------
 
74
# FLAGS 
 
75
# ----------------------------------------------------
 
76
XML_FLAGS += 
 
77
DVIPS_FLAGS += 
 
78
 
 
79
# ----------------------------------------------------
 
80
# Targets
 
81
# ----------------------------------------------------
 
82
$(HTMLDIR)/%.gif: %.gif
 
83
        $(INSTALL_DATA) $< $@
 
84
 
 
85
docs: html
 
86
 
 
87
local_docs: PDFDIR=../../pdf
 
88
 
 
89
html: $(HTML_UG_FILE) gifs
 
90
 
 
91
gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
 
92
 
 
93
debug opt: 
 
94
 
 
95
clean clean_docs:
 
96
        rm -rf $(HTMLDIR)
 
97
        rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
 
98
        rm -f errs core *~ 
 
99
 
 
100
# ----------------------------------------------------
 
101
# Release Target
 
102
# ---------------------------------------------------- 
 
103
include $(ERL_TOP)/make/otp_release_targets.mk
 
104
 
 
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 \
 
110
                $(RELSYSDIR)
 
111
 
 
112
 
 
113
release_spec:
 
114
 
 
115