~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/reltool/doc/src/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# %CopyrightBegin%
3
 
4
 
# Copyright Ericsson AB 2009. All Rights Reserved.
5
 
 
3
#
 
4
# Copyright Ericsson AB 2009-2010. All Rights Reserved.
 
5
#
6
6
# The contents of this file are subject to the Erlang Public License,
7
7
# Version 1.1, (the "License"); you may not use this file except in
8
8
# compliance with the License. You should have received a copy of the
9
9
# Erlang Public License along with this software. If not, it can be
10
10
# retrieved online at http://www.erlang.org/.
11
 
 
11
#
12
12
# Software distributed under the License is distributed on an "AS IS"
13
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
# the License for the specific language governing rights and limitations
15
15
# under the License.
16
 
 
16
#
17
17
# %CopyrightEnd%
18
18
 
19
19
include $(ERL_TOP)/make/target.mk
39
39
 
40
40
# ----------------------------------------------------
41
41
 
 
42
XML_FILES = \
 
43
        $(BOOK_FILES)  $(XML_APPLICATION_FILES) $(XML_REF3_FILES) \
 
44
        $(XML_PART_FILES) $(XML_CHAPTER_FILES)
 
45
 
42
46
HTML_FILES = $(XML_APPLICATION_FILES:%.xml=$(HTMLDIR)/%.html) \
43
47
        $(XML_PART_FILES:%.xml=$(HTMLDIR)/%.html)
44
48
 
46
50
 
47
51
MAN3_FILES = $(XML_REF3_FILES:%.xml=$(MAN3DIR)/%.3)
48
52
 
49
 
XML_FILES = \
50
 
        $(BOOK_FILES) $(XML_CHAPTER_FILES) \
51
 
        $(XML_PART_FILES) $(XML_REF3_FILES) $(XML_APPLICATION_FILES)
52
 
 
53
53
HTML_REF_MAN_FILE = $(HTMLDIR)/index.html
54
54
 
55
55
TOP_PDF_FILE = $(PDFDIR)/$(APPLICATION)-$(VSN).pdf
72
72
 
73
73
pdf: $(TOP_PDF_FILE)
74
74
 
75
 
html: gifs $(HTML_REF_MAN_FILE)
 
75
html:images $(HTML_REF_MAN_FILE)
76
76
 
77
77
man: $(MAN3_FILES)
78
78
 
79
 
gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
 
79
images: $(IMAGE_FILES:%=$(HTMLDIR)/%)
80
80
 
81
81
debug opt: 
82
82
 
83
83
clean clean_docs:
 
84
        for file in $(XML_FILES); do \
 
85
                if  [ -f $$file\src ]; then \
 
86
                  rm -f $$file; \
 
87
                  fi \
 
88
        done
84
89
        rm -rf $(HTMLDIR)/*
85
90
        rm -f $(MAN3DIR)/*
86
91
        rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
95
100
        $(INSTALL_DIR) $(RELSYSDIR)/doc/pdf
96
101
        $(INSTALL_DATA) $(TOP_PDF_FILE) $(RELSYSDIR)/doc/pdf
97
102
        $(INSTALL_DIR) $(RELSYSDIR)/doc/html
98
 
        $(INSTALL_DATA) $(HTMLDIR)/* \
99
 
                $(RELSYSDIR)/doc/html
 
103
        $(INSTALL_DATA) $(HTMLDIR)/* $(RELSYSDIR)/doc/html
100
104
        $(INSTALL_DATA) $(INFO_FILE) $(RELSYSDIR)
101
105
        $(INSTALL_DIR) $(RELEASE_PATH)/man/man3
102
106
        $(INSTALL_DATA) $(MAN3DIR)/* $(RELEASE_PATH)/man/man3