Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked .gitignore and Makefile.PL

  • Loading branch information...
commit 6a359784b2b0b3a8a420548618507651f8ce36de 1 parent 6dd9d30
@abw authored
Showing with 25 additions and 2 deletions.
  1. +18 −0 .gitignore
  2. +7 −2 Makefile.PL
View
18 .gitignore
@@ -0,0 +1,18 @@
+# All the usual stuff that gets generated as part of the build process.
+MYMETA.json
+MYMETA.yml
+Makefile
+*.tar.gz
+blib
+
+# The following are generated when 'perl Makefile.PL' is run and
+# contain system-specific paths.
+bin/build
+etc/httpd.conf
+etc/ttree.cfg
+
+# The bin/build script writes all output to the 'html' directory
+html
+
+# Following is used by bin/bundle script
+tmp
View
9 Makefile.PL
@@ -6,7 +6,7 @@ use ExtUtils::MakeMaker;
my %opts = (
'NAME' => 'Template-Docs',
- 'VERSION' => 0.01,
+ 'VERSION' => 0.02,
'PMLIBDIRS' => [ 'lib' ],
'PREREQ_PM' => {
'Badger' => 0.09,
@@ -36,6 +36,8 @@ my $root = $Bin;
my $etc = File::Spec->catdir($root, 'etc');
my $bin = File::Spec->catdir($root, 'bin');
my $meta = File::Spec->catfile($root, 'metadata');
+my $images = File::Spec->catfile($root, 'images');
+my $html = File::Spec->catfile($root, 'html');
my $config = File::Spec->catfile($etc, 'ttree.cfg');
my $httpd = File::Spec->catfile($etc, 'httpd.conf');
my $build = File::Spec->catfile($bin, 'build');
@@ -56,10 +58,13 @@ print FH <<EOF;
# This script is generated when you run 'perl Makefile.PL'. Any
# changes made here may be lost!
#
-# Written by Andy Wardley. May 2006.
+# Written by Andy Wardley. May 2006, updated May 2012.
#------------------------------------------------------------------------
ttree -f $config \$\@
+echo
+echo "Copying images into HTML directory"
+cp -r $images $html
EOF
close(FH) || die "Cannot close $build: $!\n";
chmod 0755, $build;
Please sign in to comment.
Something went wrong with that request. Please try again.