Changeset 7 for Makefile.PL
- Timestamp:
- 02/09/05 06:00:26 (4 years ago)
- svk:copy_cache_prev:
- 1041
- Files:
-
- 1 modified
-
Makefile.PL (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r5 r7 2 2 3 3 use strict; 4 use FindBin; 4 5 use inc::Module::Install; 6 7 chdir $FindBin::Bin; 5 8 6 9 name ('Perl6-Pugs'); … … 33 36 34 37 38 open IN, '< lib/Perl6/Pugs.pm' or die $!; 35 39 open FH, '> config.h' or die $!; 40 41 while (<IN>) { 42 /version (\S+) .*\breleased (.*)\./ or next; 43 print FH << "."; 44 45 #ifdef VERSION 46 #undef VERSION 47 #endif 48 #define VERSION "$1" 49 50 #ifdef DATE 51 #undef DATE 52 #endif 53 #define DATE "$2" 54 55 . 56 last; 57 } 58 36 59 if ($has_readline) { 37 60 print FH "#define READLINE 1\n";
