ExtUtils::MakeMaker make release

By Reini Urban on February 12, 2012 12:33 AM

I often wonder why people praise Dist::Zilla for ease of use. Recently I heard this argument: 'It was never easier to make a release. You cannot do that with EUMM'.

So I here is my little make release snippet from on of my Makefile.PL.

There is more in it. make README, make gcov and make gprof for XS extensions.

sub depend {
  "
README : \$(VERSION_FROM)
    pod2text \$(VERSION_FROM) > README

release : dist
    git commit -a -m\"release \$(VERSION)\"
    git tag \$(VERSION)
    cpan-upload \$(DISTVNAME).tar\$(SUFFIX)
    git push
    git push --tags

gcov : \$(BASEEXT).c.gcov \$(BASEEXT).gcov cover_db/\$(BASEEXT)-xs.html

\$(BASEEXT).c.gcov \$(BASEEXT).xs.gcov : \$(BASEEXT).xs
    \$(MAKE) CCFLAGS=\"\$(CCFLAGS) -fprofile-arcs -ftest-coverage\" \
      LDDLFLAGS=\"\$(LDDLFLAGS) -fprofile-arcs -ftest-coverage\"
    gcov \$(BASEEXT).c \$(BASEEXT).xs

cover_db/\$(BASEEXT)-xs.html : \$(BASEEXT).xs.gcov
    PERL5OPT=-MDevel::Cover make test
    -$^X -S gcov2perl \$(BASEEXT).c.gcov \$(BASEEXT).xs.gcov
    $^X -S cover

gprof :
    \$(MAKE) CCFLAGS=\"\$(CCFLAGS) -pg\" LDDLFLAGS=\"\$(LDDLFLAGS) \
      -pg\"
"
}
  • 0 comments
Continue reading »

Polish Those Slides: We Need 'Em

By JT Smith on February 11, 2012 3:00 AM

Submit a talk for YAPC::NA 2012. We’re especially interested in talks on real-world Perl apps and quintessential Perl 101 talks, but we’re open to any ideas you have. 

[From the YAPC::NA Blog.]

  • 0 comments
Continue reading »

How to Estimate like an Adult

By Peter Sergeant on February 11, 2012 12:32 AM

New post on my Software Engineering blog: How to Estimate like an Adult

  • 0 comments
Continue reading »

Those TIFF files

By Dmitry Karasik on February 10, 2012 6:00 PM

While releasing and compiling Prima 1.33 for 5 different perls, I'm taking a moment to send a couple of warm ones towards the TIFF specification. Prima originally was written to be used in (among other) software for microscopy recordings, and recently a former colleague sent me a bunch of tiffs no software could read. Heh, here's the challenge, thought naive me. Indeed, these were 10-bit grayscale tiff bitmaps, and as bit-shuffling was some long time ago an interesting topic for me, I've implemented these in Prima's tiff codec. Everyone's…

  • 3 comments
Continue reading »

Dorm Housing Now Accepting Reservations

By JT Smith on February 10, 2012 3:00 AM

The University has opened the reservation process for dorms for YAPC::NA 2012. You can simply visit the reservation web site to make your reservation. You can stay from Monday, June 11th though Saturday, June 16th (leaving Sunday) or anywhere in-between. A single occupancy room is $62.95 per night, and a double occupancy room is $42.10 per person per night. You must register before Monday, May 14th, as reservations will be closed on that date.

  • 0 comments
Continue reading »

DistZilla from one newb to another

By Mark Allen on February 10, 2012 12:16 AM
I'm giving a talk tonight at Houston.pm about Dist::Zilla. The slides from the presentation are after the cut. Also, there's a set of links about DistZilla here.

The guinea pig CPAN release for this talk is a Perl binding for the Cron.IO service. It uses Franck Cuny's cool Net::HTTP::API library. A complete binding in like 60 lines of code. Very cool.

  • 0 comments
Continue reading »

CPAN Testers Summary - January 2012 - Bringing It All Back Home

By CPAN Testers on February 9, 2012 11:37 PM

January ended up being quite a productive month, with several issues with websites getting sorted finally.

Next up was the /var/www/index.html

  • 0 comments
Continue reading »

Israeli Perl Workshop 2012 - 28 February 2012

By Shlomi Fish on February 9, 2012 5:17 PM


(The Hebrew text will be followed by an English one).

סדנת הפרל הישראלית לשנת 2012 תתקיים ב-28 בפברואר, 2012. זהו כנס יומי שיתקיים במכללת שנקר ברמת-גן. לעיונכם נתונה רשימת המצגות שתינתנה בסדנה, בה יהיו שני מסלולים.

אף על פי שהכנס ה…

  • 0 comments
Continue reading »

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.

Recent entries

  • ExtUtils::MakeMaker make release by Reini Urban
  • Polish Those Slides: We Need 'Em by JT Smith
  • How to Estimate like an Adult by Peter Sergeant
  • Those TIFF files by Dmitry Karasik
  • Dorm Housing Now Accepting Reservations by JT Smith
  • DistZilla from one newb to another by Mark Allen
  • CPAN Testers Summary - January 2012 - Bringing It All Back Home by CPAN Testers
  • Israeli Perl Workshop 2012 - 28 February 2012 by Shlomi Fish
  • Unicode and Passwords by Ovid
  • Building a DevOps process using Meister and Perl by JT Smith
  • Module review updates by Neil Bowers
  • The unexpected case of -Mblib by Reini Urban
  • The Case for Simplicity by Joel Berger
  • The case of the non-standard non-PSGI unbuffered input by Sawyer X
  • Downvoting unsupported modules by Steven Haryanto
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.