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

« back to all changes in this revision

Viewing changes to lib/reltool/doc/src/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
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