Merge pull request #19 from nspaseski/master
[deliverable/titan.core.git] / help / Makefile
CommitLineData
970ed795 1###############################################################################
3abe9331 2# Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
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
9
10TOP := ..
11include ../Makefile.cfg
12
13CHMDIR := chm
14
15MAIN_HTML_FILES := titan_main.html titan_index.html
16
17MAIN_CHM_FILES := titan_index.html titan_online.html titan.hhp titan.hhc
18
19INFO_FILES := $(addprefix info/, $(addsuffix .html, \
20BNF action activate address alive all alt altstep and and4b any \
21anytype bit2hex bit2int bit2oct bit2str bitstring boolean break call \
22case catch char char2int char2oct charstring check clear complement \
23component connect const continue control create deactivate decode_base64 decvalue default \
24disconnect display do done else encode encode_base64 encvalue enumerated error except \
25exception execute extension external fail false float float2int \
26float2str for from function friend get_stringencoding getcall getreply getverdict goto group \
27hex2bit hex2int hex2oct hex2str hexstring if ifpresent import in \
28inconc infinity inout int2bit int2char int2float int2hex int2oct \
a38c6d4c 29int2str int2unichar integer interleave isbound ischosen ispresent isvalue kill killed \
970ed795
EL
30label language length lengthof log map match message mixed mod \
31modifies module modulepar mtc noblock none not not4b nowait null objid \
32oct2bit oct2char oct2hex oct2int oct2str oct2unichar octetstring of omit on \
33operators optional or or4b out override param pass pattern permutation \
34port public private procedure raise read receive record recursive regexp rem remove_bom repeat \
a38c6d4c 35replace reply return rnd running runs select self send sender set setverdict \
970ed795 36signature sizeof start stop str2bit str2float str2hex \
a38c6d4c 37str2int str2oct subset substr superset system template testcase testcasename \
38timeout timer to trigger true type unichar2char unichar2int unichar2oct union universal unmap \
39value valueof var variant verdicttype while with xor xor4b profiler))
970ed795
EL
40
41IMAGE_FILES := $(addprefix images/, $(addsuffix .jpg, ao left right up)) images/titan_transparent.gif
42
43DOC_FILES := $(addprefix docs/, $(addsuffix .pdf, \
44naming))
45
46USERGUIDES := $(addprefix ../../doc/, $(addsuffix .pdf, \
47apiguide userguide installationguide referenceguide releasenotes))
48
49all run: ;
50
51install:
52ifdef MINGW
53 @echo Skipped ${CURDIR} for MinGW
54else
55 mkdir -p $(BINDIR)
56 cp ttcn3_help $(BINDIR)
57 chmod +x $(BINDIR)/ttcn3_help
58 mkdir -p $(HELPDIR)
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
66ifeq (GEN_PDF,yes)
67 ln -s $(USERGUIDES) $(HELPDIR)/docs
68endif
69endif
70
71chm.tgz:
72 $(RM) -r $(CHMDIR)
73 mkdir -p $(CHMDIR)
74 cp $(MAIN_CHM_FILES) $(CHMDIR)
75 mkdir $(CHMDIR)/info
76 cp $(INFO_FILES) $(CHMDIR)/info
77 mkdir -p $(CHMDIR)/images
78 cp $(IMAGE_FILES) $(CHMDIR)/images
79 ./chm_refact.sh
80 tar cfz $@ chm
81
82clean:
83 $(RM) -rf $(CHMDIR) chm.tgz
This page took 0.026285 seconds and 5 git commands to generate.