On linux do not include X11/Xlocale.h but locale.h, this prevents
[oweals/cde.git] / cde / programs / dthelp / dthelpdemo / README
1 /* $XConsortium: README /main/2 1996/07/15 14:11:16 drk $ */
2 dthelpdemo
3 ----------
4
5 The demo illustrates the use of the CDE Help system.
6
7
8 Steps required to build and preview the dthelpdemo program:
9
10
11 1) Compile the dthelpdemo and sample help volume using the appropriate 
12    Makefile for your platform:
13
14    a) Making both the dthelpdemo and help demo sample volume (helpdemo.sdl):
15
16       make -f Makefile.[SUN|HP|IBM]
17
18
19    b) Making only the dthelpdemo program:
20
21       make -f Makefile.[SUN|HP|IBM] dthelpdemo
22
23
24    c) Making only the dthelpdemo help volume (helpdemo.sdl):
25
26       make -f Makefile.[SUN|HP|IBM] volume
27
28
29    d) Cleaning all the generated files for dthelpdemo and the sample help
30       volume:
31
32       make -f Makefile.[SUN|HP|IBM] clean
33
34
35
36 2) Make sure the sample help volume "helpdemo.sdl" used by dthelpdemo is 
37    accessable via the DTUSERHELPSEARCHPATH environment variable. To do 
38    this use one of the supplied shell scripts:
39
40         . ./helpdemoHelpEnv.sh
41         or
42         source ./helpdemoHelpEnv.csh
43
44
45 3) Copy the Dthelpdemo to either $HOME or the default location for app-defaults
46    files on your system.
47
48
49 4) Run dthelpdemo:
50
51         dthelpdemo
52
53
54 5) To clean up all files generated by the build use:
55
56         make -f Makefile.[SUN|HP|IBM] clean
57