]> git.donarmstrong.com Git - perltidy.git/blobdiff - Makefile.PL
Imported Upstream version 20120701
[perltidy.git] / Makefile.PL
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..dc8474f
--- /dev/null
@@ -0,0 +1,23 @@
+# 
+# The indentation of this file is poor because this file may be used to
+# test perltidy after installation. For example, try
+#
+#    perltidy -lp Makefile.PL
+#
+# which will create a reformatted version as Makefile.PL.tdy.
+#
+use ExtUtils::MakeMaker;
+WriteMakefile(
+NAME  => "Perl::Tidy",
+VERSION_FROM => "lib/Perl/Tidy.pm",
+(
+  $] >= 5.005
+? (
+  ABSTRACT => 'indent and reformat perl scripts',
+AUTHOR => 'Steve Hancock <perltidy@perltidy.sourceforge.net>'
+  )
+: ()
+),
+EXE_FILES => ['bin/perltidy'],
+dist  => { COMPRESS => 'gzip', SUFFIX => 'gz' },
+);