summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
blob: f021c15cbfc0e8f2895936dcd961c71d4980d51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id$

use 5.008;
use strict;
use ExtUtils::MakeMaker;

# where to find the rpm utility

sub MY::postamble {
    <<MAKE;
ChangeLog: \$(TO_INST_PM)
	svn2cl -o ChangeLog || :
	rm -f *.bak || :

change_dist: ChangeLog tardist

MAKE
}

WriteMakefile(
    NAME	 => 'MDV::Distribconf',
    VERSION_FROM => 'lib/MDV/Distribconf.pm',
    dist => { DIST_DEFAULT => 'change_dist' },
    EXE_FILES => [ qw(bin/checkdistrib bin/gendistribng) ],
);