ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/Makefile.PL
Revision: 1.4
Committed: Fri Jul 10 02:00:09 2015 UTC (8 years, 10 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.3: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2
3 sub MY::postamble {
4 my $postamble =<<'END';
5
6 uulib/Makefile:
7 cd uulib && ./configure --with-cc='$(CC)' --with-cflags='$(OPTIMIZE) $(CFLAGS) $(CCCDLFLAGS)'
8
9 clean::
10 -cd uulib && make distclean
11
12 force:
13
14 $(MYEXTLIB): uulib/Makefile uulib/uulib.c force
15 cd uulib && $(MAKE) all
16
17 END
18 }
19
20 WriteMakefile(
21 'dist' => {
22 PREOP => 'pod2text UUlib.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ; chmod -R u=rwX,go=rX . ;',
23 COMPRESS => 'gzip -9v',
24 SUFFIX => '.gz',
25 },
26 'NAME' => 'Convert::UUlib',
27 'VERSION_FROM' => 'UUlib.pm',
28 'MYEXTLIB' => 'uulib/libuu$(LIB_EXT)',
29 'LIBS' => [''],
30 'DEFINE' => '',
31 'INC' => '',
32 );