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

« back to all changes in this revision

Viewing changes to lib/edoc/doc/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

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 express 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, Ericsson Utvecklings
 
14
# AB. All Rights Reserved.''
 
15
 
16
#     $Id: Makefile,v 1.1.1.1 2004/10/04 13:53:33 richardc Exp $
 
17
#
 
18
include $(ERL_TOP)/make/target.mk
 
19
include $(ERL_TOP)/make/$(TARGET)/otp.mk
 
20
 
 
21
# ----------------------------------------------------
 
22
# Application version
 
23
# ----------------------------------------------------
 
24
include ../vsn.mk
 
25
VSN=$(EDOC_VSN)
 
26
 
 
27
# ----------------------------------------------------
 
28
# Release directory specification
 
29
# ----------------------------------------------------
 
30
RELSYSDIR = $(RELEASE_PATH)/lib/edoc-$(VSN)
 
31
 
 
32
# ----------------------------------------------------
 
33
# Help application directory specification
 
34
# ----------------------------------------------------
 
35
 
 
36
APPNAME=edoc
 
37
DOC_TITLE="Welcome to EDoc"
 
38
 
 
39
HTML_FILES = *.html
 
40
INFO_FILE = ../info
 
41
# ----------------------------------------------------
 
42
# Target Specs
 
43
# ----------------------------------------------------
 
44
 
 
45
# ----------------------------------------------------
 
46
# Targets
 
47
# ----------------------------------------------------
 
48
 
 
49
 
 
50
docs:
 
51
        (cd ..; \
 
52
        edoc_generate -app '$(APPNAME)' -vsn '$(VSN)')
 
53
 
 
54
 
 
55
info:
 
56
        @echo "HTML_FILES:" $(HTML_FILES)
 
57
        @echo "HTMLDIR: $(HTMLDIR)"
 
58
 
 
59
 
 
60
 
 
61
debug opt: 
 
62
 
 
63
 
 
64
clean:
 
65
        rm -f  $(HTML_FILES) stylesheet.css edoc-info
 
66
        rm -f errs core *~
 
67
 
 
68
 
 
69
# ----------------------------------------------------
 
70
# Release Target
 
71
# ---------------------------------------------------- 
 
72
 
 
73
 
 
74
include $(ERL_TOP)/make/otp_release_targets.mk
 
75
 
 
76
release_docs_spec: docs
 
77
        $(INSTALL_DIR) $(RELSYSDIR)/doc/html
 
78
        $(INSTALL_DATA)  $(HTML_FILES) $(RELSYSDIR)/doc/html
 
79
        $(INSTALL_DATA) $(INFO_FILE) $(RELSYSDIR)
 
80
 
 
81
 
 
82
release_spec:
 
83
 
 
84
 
 
85
 
 
86
# ----------------------------------------------------
 
87
# Include dependency
 
88
# ----------------------------------------------------
 
89
#-include make.dep
 
90
 
 
91