/usr/local/CPAN/Make-Cache/Makefile.PL


# DESCRIPTION: Perl ExtUtils: Type 'perl Makefile.PL' to create a Makefile for this package
#
# Copyright 2001-2010 by Wilson Snyder.  This program is free software;
# you can redistribute it and/or modify it under the terms of either the GNU
# General Public License Version 3 or the Perl Artistic License Version 2.0.

require 5.005;
use ExtUtils::MakeMaker;
use Carp;

sub MY::postamble {
    q{
README: readme.texi
		-$(RM_RF) $@
		makeinfo $< --output $@ --no-headers --no-validate

dist: distcheck README

## Maintainer use:
preexist:
		svnorcvs nexists $(DISTNAME)_$(VERSION_SYM)
		test -s README

tag:
		svnorcvs tag  $(DISTNAME)_$(VERSION_SYM)

maintainer-diff:
		svnorcvs diff $(DISTNAME)_$(VERSION_SYM)

maintainer-dist: preexist dist tag
		svnorcvs release $(DISTVNAME).tar.gz

maintainer-clean: distclean
		-$(RM_RF) README Makefile

clean::
		-$(RM_RF) test_dir
};
}

WriteMakefile(
	      NAME      => 'Make::Cache',
	      AUTHOR	=> 'Wilson Snyder <wsnyder@wsnyder.org>',
	      ABSTRACT  => 'Caching of GCC objects and Make targets',
	      VERSION_FROM  => 'lib/Make/Cache.pm',
	      NO_META	=> 1,
	      PREREQ_PM => {'BSD::Resource' => 1,
			    'Digest::MD5' => 1,
			    'Pod::Usage' => 1.34,
			    'Storable' => 1,
			},
	      EXE_FILES => [qw( objcache )],
	      'clean'	=> {FILES => qw ( ),},
	      'dist'    => {COMPRESS => 'gzip -9f',
			    SUFFIX   => '.gz',
			    DIST_DEFAULT => 'README all tardist',
			},
	      );