-
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
To run the test type “make test” (after you have run “./gen-helpers”). It requires some extra CPAN modules.
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: