… | |
… | |
15 | # |
15 | # |
16 | # You should have received a copy of the GNU General Public License |
16 | # You should have received a copy of the GNU General Public License |
17 | # along with gvpe; if not, write to the Free Software |
17 | # along with gvpe; if not, write to the Free Software |
18 | # Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | # Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | |
19 | |
20 | our $VERSION = '1.05'; |
20 | our $VERSION = '1.051'; |
21 | |
21 | |
22 | use Storable; |
22 | use Storable; |
23 | |
23 | |
24 | my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} |
24 | my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} |
25 | or die "\$CROSSFIRE_LIBDIR must be set\n"; |
25 | or die "\$CROSSFIRE_LIBDIR must be set\n"; |
… | |
… | |
76 | "<body>", |
76 | "<body>", |
77 | "<h1>Crossfire Archetype '$name'</h1>"; |
77 | "<h1>Crossfire Archetype '$name'</h1>"; |
78 | |
78 | |
79 | print_arch $arch->{$name}; |
79 | print_arch $arch->{$name}; |
80 | |
80 | |
81 | print "<p class='footer'>created by <a href='http://software.schmorp.de/#crossfire'>cfarch2html</a> version $VERSION</p>", |
81 | print "<p class='footer'>created by <a href='http://software.schmorp.de/pkg/crossfire'>cfarch2html</a> version $VERSION</p>", |
82 | "</body></html>"; |
82 | "</body></html>"; |
83 | |
83 | |
84 | close $fh; |
84 | close $fh; |
85 | |
85 | |
86 | #system "gzip", "-7f", "arc.xhtml"; |
86 | #system "gzip", "-7f", "arc.xhtml"; |