~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/docbuilder/src/Makefile

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# ``The contents of this file are subject to the Erlang Public License,
2
 
# Version 1.1, (the "License"); you may not use this file except in
3
 
# compliance with the License. You should have received a copy of the
4
 
# Erlang Public License along with this software. If not, it can be
5
 
# retrieved via the world wide web at http://www.erlang.org/.
6
 
7
 
# Software distributed under the License is distributed on an "AS IS"
8
 
# basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See
9
 
# the License for the specific language governing rights and limitations
10
 
# under the License.
11
 
12
 
# The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13
 
# Portions created by Ericsson are Copyright 1999-2000, Ericsson 
14
 
# Utvecklings AB. All Rights Reserved.''
15
 
16
 
#     $Id$
17
 
#
18
 
 
19
 
include $(ERL_TOP)/make/target.mk
20
 
include $(ERL_TOP)/make/$(TARGET)/otp.mk
21
 
 
22
 
# ----------------------------------------------------
23
 
# Application version
24
 
# ----------------------------------------------------
25
 
include ../vsn.mk
26
 
VSN=$(DOCB_VSN)
27
 
 
28
 
# ----------------------------------------------------
29
 
# Release directory specification
30
 
# ----------------------------------------------------
31
 
RELSYSDIR = $(RELEASE_PATH)/lib/docbuilder-$(VSN)
32
 
 
33
 
# ----------------------------------------------------
34
 
# Common Macros
35
 
# ----------------------------------------------------
36
 
 
37
 
MODULES= \
38
 
        docb_edoc_xml_cb \
39
 
        docb_gen \
40
 
        docb_html \
41
 
        docb_html_layout \
42
 
        docb_html_ref \
43
 
        docb_html_util \
44
 
        docb_html_util_iso \
45
 
        docb_main \
46
 
        docb_pretty_format \
47
 
        docb_tr_application2html \
48
 
        docb_tr_appref2html \
49
 
        docb_tr_chapter2html \
50
 
        docb_tr_cite2html \
51
 
        docb_tr_comref2html \
52
 
        docb_tr_cref2html \
53
 
        docb_tr_erlref2html \
54
 
        docb_tr_fileref2html \
55
 
        docb_tr_first2html \
56
 
        docb_tr_index2html \
57
 
        docb_tr_part2html \
58
 
        docb_tr_refs2kwic \
59
 
        docb_tr_report2html \
60
 
        docb_tr_term2html \
61
 
        docb_transform \
62
 
        docb_util \
63
 
        docb_xmerl_tree_cb \
64
 
        docb_xmerl_xml_cb \
65
 
        docb_xml_check
66
 
 
67
 
HRL_FILES= \
68
 
        docb_util.hrl
69
 
 
70
 
ERL_FILES= $(MODULES:%=%.erl)
71
 
 
72
 
TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
73
 
 
74
 
APP_FILE= docbuilder.app
75
 
APPUP_FILE= docbuilder.appup
76
 
APP_SRC= $(APP_FILE).src
77
 
APPUP_SRC= $(APPUP_FILE).src
78
 
APP_TARGET= $(EBIN)/$(APP_FILE)
79
 
APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
80
 
 
81
 
# ----------------------------------------------------
82
 
# FLAGS
83
 
# ----------------------------------------------------
84
 
ERL_FLAGS +=
85
 
XMERL = ../../xmerl
86
 
ERL_COMPILE_FLAGS += -I$(XMERL)/include
87
 
 
88
 
# ----------------------------------------------------
89
 
# Targets
90
 
# ----------------------------------------------------
91
 
 
92
 
debug opt: $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) 
93
 
 
94
 
clean:
95
 
        rm -f $(TARGET_FILES) $(APP_TARGET) 
96
 
        rm -f errs core *~
97
 
 
98
 
$(APP_TARGET):  $(APP_SRC) ../vsn.mk
99
 
        sed -e 's;%VSN%;$(VSN);' $< > $@
100
 
$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
101
 
        sed -e 's;%VSN%;$(VSN);' $< > $@
102
 
 
103
 
docs:
104
 
 
105
 
# ----------------------------------------------------
106
 
# Release Target
107
 
# ---------------------------------------------------- 
108
 
include $(ERL_TOP)/make/otp_release_targets.mk
109
 
 
110
 
release_spec: opt
111
 
        $(INSTALL_DIR) $(RELSYSDIR)/src
112
 
        $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
113
 
        $(INSTALL_DIR) $(RELSYSDIR)/ebin
114
 
        $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
115
 
 
116
 
release_docs_spec:
117
 
 
118
 
 
119
 
 
120
 
 
121