Added WriteAll/DIST PREOP for README
Christopher H. Laco [Mon, 2 Jul 2007 01:07:33 +0000 (01:07 +0000)]
Makefile.PL

index e03aaa2..d7aa486 100644 (file)
@@ -33,9 +33,10 @@ recommends 'Win32API::GUID';
 tests "t/*.t t/*/*.t";
 clean_files "DBIx-Class-UUIDColumns-* t/var";
 
-eval {
-    system 'pod2text lib/DBIx/Class/UUIDColumns.pm > README';
-};
-
 auto_install;
-WriteAll;
+
+WriteMakefile(
+  dist => {
+    PREOP => 'pod2text lib/DBIx/Class/UUIDColumns.pm > README'
+  }
+);