Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.57 KB

File metadata and controls

55 lines (33 loc) · 1.57 KB
  • In order to build the site, type “./gen-helpers” from the command line, followed by “make”.

  • If you get the following error:

$ make
Makefile:3: include.mak: No such file or directory
make: *** No rule to make target `include.mak'.  Stop.

Then you need to type "./gen-helpers" first, which is used to list the files that needs to be updated inside “include.mak”.

  • In order to upload it, type “make upload” (but you may need to have the right permissions).

Dependencies:

On Debian, Ubuntu, and derivatives, type:

sudo apt-get install libtemplate-perl libfile-find-object-perl

On Mandriva and Mageia, type:

sudo urpmi perl-Template-Toolkit perl-File-Find-Object

On RHEL-based distributions (such as Red Hat Enterprise Linux (RHEL), CentOS, or Scientific Linux) and on Fedora up to 21, type:

sudo yum install perl-Template-Toolkit perl-File-Find-Object

On modern Fedora distributions, type

sudo dnf install perl-Template-Toolkit perl-File-Find-Object

Elsewhere, consult your distribution's convention for installing packages or use:

cpan Template File::Find::Object

Running the test suite

To run the test type “make test” (after you have run “./gen-helpers”). It requires some extra CPAN modules.

How to edit the source

For each of the dest//*.html files the source is found in src//*.html.tt2. Most of the source is regular XHTML , but Template Toolkit 2 directives can be used too with “[%” and “%]” markers. See:

http://www.template-toolkit.org/