ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/Makefile.PL
Revision: 1.2
Committed: Sun Mar 31 21:42:35 2002 UTC (22 years, 1 month ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.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="$(CFLAGS) $(CCCDLFLAGS) $(OPTIMIZE)"
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 root 1.2 PREOP => 'pod2text UUlib.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ; chmod -R u=rwX,go=rX . ;',
23 root 1.1 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     );