Fixed template header_printable.
[gruta.git] / Makefile.PL
blobf804ffbd986aa619fb55decdf444ac4d33ecd154
1 use ExtUtils::MakeMaker;
2 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3 # the contents of the Makefile that is written.
5 sub MY::postamble {
6 return <<'EOF';
8 install::
9         rm -rf /usr/share/gruta/templates/artemus
10         mkdir -p /usr/share/gruta/templates/artemus
11         for l in templates/artemus/* ; do \
12                 echo $$l ; \
13                 mkdir -p /usr/share/gruta/$$l ; \
14                 install -m 644 $$l/* /usr/share/gruta/$$l ; \
15         done
16 EOF
19 WriteMakefile(
20     'NAME'              => 'Gruta',
21     'dist'              => { COMPRESS => gzip, SUFFIX => '.gz'},
22     'VERSION_FROM'      => 'Gruta.pm',