use v5.6; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'TM', VERSION_FROM => 'lib/TM.pm', # finds $VERSION ABSTRACT_FROM => 'lib/TM.pm', AUTHOR => 'Robert Barta ', EXE_FILES => [ 'bin/tm' ], NOECHO => '@', PREREQ_PM => { # do a 'make dependencies' to get an update 'BerkeleyDB' => '0.26', "Config::General" => 2.26, "Class::Trait" => 0.22, "Log::Log4perl" => 0.50, 'LWP::Simple' => 1.41, "MLDBM" => 2.01, "MLDBM::Sync" => 0.30, "Parse::RecDescent" => 1.94, "Parse::Yapp::Driver" => 1.05, "Pod::Usage" => 1.16, "Term::ReadLine" => 1.01, "Test::More" => 0.47, "Test::Deep" => 0.093, "Test::Pod" => 1.00, "URI::Escape" => 3.22, "URI::file" => 4.14, "XML::LibXML" => 1.58, "XML::Simple" => 2.13, "IO::String" => 1.08, 'XML::Writer' => 0.602, }, NORECURS => 1, ); package MY; sub depend { return < /tmp/grammar perl -MParse::RecDescent - /tmp/grammar TM::AsTMa::PathCParser rm /tmp/grammar mv PathCParser.pm lib/TM/AsTMa/ lib/TM/LTM/CParser.pm: lib/TM/LTM/Parser.pm perl -Ilib -MTM::LTM::Parser -e 'print \$\$TM::LTM::Parser::ltm_grammar' > /tmp/grammar perl -MParse::RecDescent - /tmp/grammar TM::LTM::CParser rm /tmp/grammar mv CParser.pm lib/TM/LTM/ lib/TM/QL/CParser.pm: lib/TM/QL.pm perl -Ilib -MTM::QL -e 'print \$\$TM::QL::grammar' > /tmp/grammar perl -Ilib -MTM::Literal -e 'print \$\$TM::Literal::grammar' >> /tmp/grammar perl -MParse::RecDescent - /tmp/grammar TM::QL::CParser rm /tmp/grammar mv CParser.pm lib/TM/QL/ axespod: perl -Ilib support/mkaxespod.pl > lib/TM/Axes.pm dependencies: scandeps.pl `grep .pm MANIFEST` `grep bin/ MANIFEST`| grep -v undef # egrep -e '(^use | use ).*;' `find t -iname '*.t'; find lib -iname '*.pm'; find bin -iname '*'` | perl -ne '/^.+?:\\s*use ([A-Za-z0-9:]+)/; print "\$\$1\\n"' | egrep -v '(base|Carp|POSIX|vars|strict|constant|warnings|Class::Struct|Fcntl|Data::Dumper|Storable|lib|UNIVERSAL|Digest::MD5|IO::File|File::Temp|File::stat|Getopt::Long)' | egrep -v '^TM' | grep -v '^XTM' | sort -u | perl -ne 's/;//; chomp; next unless \$\$_; print "\\"\$\$_\\" => "; eval "use \$\$_; print (\\\$\$\$\${_}::VERSION || \\"undef\\")"; print ",\\n"' manifesto: find lib/ -iname '*.pm' | sort find t -iname '*.t' | sort upload: cpan-upload-http TM-\$(VERSION).tar.gz inject: mcpani --add --module TM --authorid DRRHO --modversion \$(VERSION) --file TM-\$(VERSION).tar.gz sudo mcpani --inject echo "reload index" | cpan debian: (cd /usr/local/share/packages; rm -rf TM* ; dh-make-perl --cpan-mirror file:/usr/local/share/minicpan --build --cpan TM --notest) MAKE } sub UML { return <