1#
2# %CopyrightBegin%
3#
4# Copyright Ericsson AB 2004-2018. All Rights Reserved.
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10#     http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# %CopyrightEnd%
19#
20include $(ERL_TOP)/make/target.mk
21include $(ERL_TOP)/make/$(TARGET)/otp.mk
22
23# ----------------------------------------------------
24# Application version
25# ----------------------------------------------------
26include ../../vsn.mk
27VSN=$(XMERL_VSN)
28APPLICATION=xmerl
29
30# ----------------------------------------------------
31# Target Specs
32# ----------------------------------------------------
33XMERL_DIR = $(ERL_TOP)/lib/$(APPLICATION)/src
34
35EDOC_REF3_FILES = \
36	xmerl_scan.xml \
37	xmerl.xml \
38	xmerl_xs.xml \
39	xmerl_eventp.xml \
40	xmerl_xpath.xml \
41	xmerl_xsd.xml
42
43XML_APPLICATION_FILES = ref_man.xml
44
45XML_REF3_FILES = xmerl_sax_parser.xml
46
47XML_PART_FILES = \
48	part.xml
49
50XML_REF6_FILES =
51
52XML_CHAPTER_FILES =  \
53	notes.xml
54
55XML_CHAPTER_GEN_FILES = \
56	$(XMLDIR)/xmerl_ug.xml
57
58HTML_EXAMPLE_FILES =  \
59	xmerl_examples.html \
60	xmerl_xs_examples.html
61
62HTML_STYLESHEET_FILES = \
63	../stylesheet.css
64
65BOOK_FILES = book.xml
66
67XML_HTML_FILES = \
68	notes_history.xml
69
70EXAMPLE_FILES = people2.txt people.txt motorcycles.txt motorcycles_dtd.txt \
71	new_motorcycles.txt new_motorcycles2.txt result_export.html \
72	motorcycles2.txt result_xs.html motorcycles2html.erl
73
74HTML_EXTRA_FILES = $(EXAMPLE_FILES) $(HTML_EXAMPLE_FILES) $(HTML_STYLESHEET_FILES)
75
76XML_FILES= \
77	$(BOOK_FILES) $(XML_CHAPTER_FILES) \
78	$(XML_PART_FILES) $(XML_REF3_FILES) $(XML_APPLICATION_FILES)
79
80XML_GEN_FILES = $(XML_CHAPTER_GEN_FILES)
81
82# ----------------------------------------------------
83# Release Target
84# ----------------------------------------------------
85include $(ERL_TOP)/make/doc.mk
86