1 ###############################################################################
2 # Copyright (c) 2000-2014 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
8 # Makefile for installing the docs and html help pages
11 include ..
/Makefile.cfg
15 MAIN_HTML_FILES
:= titan_main.html titan_index.html
17 MAIN_CHM_FILES
:= titan_index.html titan_online.html titan.hhp titan.hhc
19 INFO_FILES
:= $(addprefix info/, $(addsuffix .html
, \
20 BNF action activate address alive
all alt altstep and and4b any \
21 anytype bit2hex bit2int bit2oct bit2str bitstring boolean break call \
22 case catch char char2int char2oct charstring
check clear complement \
23 component connect const continue control create deactivate decode_base64 decvalue default \
24 disconnect display do done
else encode encode_base64 encvalue enumerated error except \
25 exception execute extension external fail false float float2int \
26 float2str for from function friend get_stringencoding getcall getreply getverdict goto group \
27 hex2bit hex2int hex2oct hex2str hexstring if ifpresent import in \
28 inconc infinity inout int2bit int2char int2float int2hex int2oct \
29 int2str int2unichar integer interleave ischosen ispresent isvalue kill killed \
30 label language length lengthof log map match message mixed mod \
31 modifies module modulepar mtc noblock none not not4b nowait null objid \
32 oct2bit oct2char oct2hex oct2int oct2str oct2unichar octetstring of omit on \
33 operators optional or or4b out
override param pass pattern permutation \
34 port public private procedure raise read receive record recursive regexp rem remove_bom repeat \
35 reply return rnd running runs select self send sender set setverdict \
36 signature sizeof start stop str2bit str2float str2hex \
37 str2int str2oct subset substr superset system template testcase \
38 timeout timer to trigger true type unichar2int unichar2oct union universal unmap \
39 value valueof var variant verdicttype while with xor xor4b
))
41 IMAGE_FILES
:= $(addprefix images
/, $(addsuffix .jpg
, ao left right up
)) images
/titan_transparent.gif
43 DOC_FILES
:= $(addprefix docs
/, $(addsuffix .pdf
, \
46 USERGUIDES
:= $(addprefix ..
/..
/doc
/, $(addsuffix .pdf
, \
47 apiguide userguide installationguide referenceguide releasenotes
))
53 @echo Skipped
${CURDIR} for MinGW
56 cp ttcn3_help
$(BINDIR
)
57 chmod
+x
$(BINDIR
)/ttcn3_help
59 cp
$(MAIN_HTML_FILES
) $(HELPDIR
)
60 mkdir
-p
$(HELPDIR
)/info
61 cp
$(INFO_FILES
) $(HELPDIR
)/info
62 mkdir
-p
$(HELPDIR
)/images
63 cp
$(IMAGE_FILES
) $(HELPDIR
)/images
64 mkdir
-p
$(HELPDIR
)/docs
65 cp
$(DOC_FILES
) $(HELPDIR
)/docs
67 ln
-s
$(USERGUIDES
) $(HELPDIR
)/docs
74 cp
$(MAIN_CHM_FILES
) $(CHMDIR
)
76 cp
$(INFO_FILES
) $(CHMDIR
)/info
77 mkdir
-p
$(CHMDIR
)/images
78 cp
$(IMAGE_FILES
) $(CHMDIR
)/images
83 $(RM
) -rf
$(CHMDIR
) chm.tgz