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

« back to all changes in this revision

Viewing changes to system/doc/system_architecture_intro/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
#VSN=$(SYSTEM_VSN)
 
28
 
 
29
APPLICATION=otp-system-documentation
 
30
# ----------------------------------------------------
 
31
# Release directory specification
 
32
# ----------------------------------------------------
 
33
RELSYSDIR = $(RELEASE_PATH)/doc/system_architecture_intro
 
34
 
 
35
# ----------------------------------------------------
 
36
# Target Specs
 
37
# ----------------------------------------------------
 
38
XML_PART_FILES = part.xml
 
39
 
 
40
include xmlfiles.mk
 
41
 
 
42
 
 
43
TOPDOCDIR=..
 
44
 
 
45
BOOK_FILES = book.xml
 
46
 
 
47
GIF_FILES =
 
48
 
 
49
PS_FILES = 
 
50
 
 
51
XML_FILES = \
 
52
        $(BOOK_FILES) $(XML_CHAPTER_FILES) \
 
53
        $(XML_PART_FILES) 
 
54
 
 
55
# ----------------------------------------------------
 
56
 
 
57
HTMLDIR = ../html/system_architecture_intro
 
58
 
 
59
HTML_UG_FILE = $(HTMLDIR)/users_guide.html
 
60
 
 
61
# ----------------------------------------------------
 
62
# FLAGS 
 
63
# ----------------------------------------------------
 
64
XML_FLAGS += 
 
65
DVIPS_FLAGS += 
 
66
 
 
67
# ----------------------------------------------------
 
68
# Targets
 
69
# ----------------------------------------------------
 
70
docs: html
 
71
 
 
72
local_docs: PDFDIR=../../pdf
 
73
 
 
74
html: $(GIF_FILES) $(HTML_UG_FILE)
 
75
 
 
76
debug opt: 
 
77
 
 
78
clean clean_docs:
 
79
        rm -rf $(HTMLDIR)
 
80
        rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
 
81
        rm -f errs core *~ 
 
82
 
 
83
# ----------------------------------------------------
 
84
# Release Target
 
85
# ---------------------------------------------------- 
 
86
include $(ERL_TOP)/make/otp_release_targets.mk
 
87
 
 
88
release_docs_spec: docs
 
89
#       $(INSTALL_DIR) $(RELEASE_PATH)/pdf
 
90
#       $(INSTALL_DATA) $(TOP_PDF_FILE) $(RELEASE_PATH)/pdf
 
91
        $(INSTALL_DIR) $(RELSYSDIR)
 
92
        $(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \
 
93
                $(RELSYSDIR)
 
94
 
 
95
release_spec:
 
96
 
 
97