1 |
khruskowski |
2 |
---------------------------------------------------------------------- |
2 |
|
|
gpg4win Web Site |
3 |
|
|
---------------------------------------------------------------------- |
4 |
|
|
|
5 |
|
|
INTRODUCTION: |
6 |
|
|
|
7 |
|
|
Getting the source: |
8 |
|
|
|
9 |
|
|
You can work on the website independently of the rest of gpg4win. |
10 |
|
|
First check out the website from SVN repository: |
11 |
|
|
|
12 |
|
|
svn checkout svn+ssh://USER@svn.wald.intevation.org/gpg4win/trunk/doc/website |
13 |
|
|
|
14 |
|
|
where USER is you name at wald.intevation.org. |
15 |
bernhard |
9 |
If you are not a member of the gpg4win group at wald.intevation.org, |
16 |
khruskowski |
2 |
you can also checkout anonymously: |
17 |
|
|
|
18 |
|
|
svn checkout https://svn.wald.intevation.org/gpg4win/trunk/doc/website |
19 |
|
|
|
20 |
|
|
but of course you can not update the official website www.gpg4win.org |
21 |
|
|
this way. |
22 |
|
|
|
23 |
|
|
|
24 |
|
|
File organisation: |
25 |
|
|
|
26 |
|
|
The .html files are build from the *.htm4 files using GNU m4. The |
27 |
|
|
*.htm4 files consist of mainly simple plain HTML and some macros |
28 |
|
|
implementing the overall page layout. |
29 |
|
|
|
30 |
|
|
The structure of the .htm4 files should be rather self explaining. |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
BUILDING: |
34 |
|
|
|
35 |
|
|
Building the web site is _not_ incorporated into the autotools based |
36 |
|
|
build process. |
37 |
|
|
|
38 |
bernhard |
9 |
To build to web sites use |
39 |
khruskowski |
2 |
|
40 |
bernhard |
9 |
make |
41 |
khruskowski |
2 |
|
42 |
|
|
|
43 |
|
|
INSTALLING: |
44 |
|
|
|
45 |
|
|
To install the generated web site you need a gpg4win docwriter or |
46 |
|
|
developer account on wald.intevation.org. |
47 |
|
|
|
48 |
|
|
Installing is done from within the "doc/website" directory, |
49 |
|
|
just type: |
50 |
|
|
|
51 |
bernhard |
9 |
make online |
52 |
khruskowski |
2 |
|
53 |
|
|
You will have to enter the ssh password of your account at wald.intevation.org. |
54 |
|
|
|
55 |
|
|
If you are interested on web site management on wald.intevation.org |
56 |
|
|
in general, please read the online manual: |
57 |
|
|
http://wald.intevation.org/docman/view.php/1/34/project-websites.txt |
58 |
|
|
|
59 |
|
|
If you need the website as offline version for some other |
60 |
|
|
purposes just run: |
61 |
|
|
|
62 |
|
|
make -f buildhtml.mk tar |
63 |
|
|
|
64 |
|
|
After thar you have the file "www.gpg4win.org.tar.gz". |
65 |
|
|
|
66 |
|
|
TEMPLATES: |
67 |
|
|
|
68 |
|
|
versions.m4 : Definitions of some macros, holding the current versions |
69 |
|
|
of gpg4win and the included software packages. If any |
70 |
|
|
version changes this file should be changed accordingly. |
71 |
|
|
This file is included by `template_header.m4'. |
72 |
|
|
The current version numbers of the packages installed by |
73 |
|
|
gpg4win can be found here: |
74 |
|
|
ftp://ftp.gpg4win.org/gpg4win/packages.current |
75 |
|
|
|
76 |
|
|
template.m4 : Contains the definition of the main macros PAGE_START |
77 |
|
|
and PAGE_BOXES as well as some helper macros normally |
78 |
|
|
not used in the .htm4 files. Authors should not need to |
79 |
|
|
change this file. |
80 |
|
|
|
81 |
|
|
template_header.m4: Contains the actual page layout. This file is |
82 |
|
|
included by `template.m4'. Authors should not |
83 |
|
|
need to change this file, but if additional |
84 |
|
|
languages are added the navigation must be added |
85 |
|
|
in here. |