Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CPAN Release 0.12
- Small changes to tutorial
  • Loading branch information
ingydotnet committed Nov 16, 2014
1 parent ef1e49e commit 4d4b285
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Changes
@@ -1,4 +1,9 @@
---
version: 0.12
date: Sat Nov 15 23:09:59 PST 2014
changes:
- Small changes to tutorial
---
version: 0.11
date: Sun Nov 9 17:15:57 EST 2014
changes:
Expand Down
2 changes: 1 addition & 1 deletion Meta
@@ -1,7 +1,7 @@
=meta: 0.0.1

name: Inline-Module
version: 0.11
version: 0.12
abstract: Support for Inline-based CPAN Extension Modules
homepage: https://metacpan.org/release/Inline-Module

Expand Down
2 changes: 2 additions & 0 deletions ReadMe.pod
Expand Up @@ -39,6 +39,8 @@ L<http://news.perlfoundation.org/2014/09/grant-proposal-inlinecpp-modul.html>

=item * L<Inline::Module::Tutorial>

=item * L<Inline::Module::MakeMaker>

=item * L<Inline>

=item * L<Inline::C>
Expand Down
9 changes: 4 additions & 5 deletions doc/Inline/Module/Tutorial.swim
@@ -1,5 +1,5 @@
Inline::Module Tutorial
=======================
Inline::Module::Tutorial
========================

Make "XS" modules for CPAN, the easy way

Expand All @@ -25,19 +25,18 @@ No matter which framework you use to make modules ([ExtUtils::MakeMaker],
now we'll just show `Makefile.PL` way:

use Inline::Module::MakeMaker;
use lib 'inc'; use Inline::Module::MakeMaker;
WriteMakefile(
NAME => 'Acme::Math::XS',
...
);

use lib 'inc'; use Inline::Module::MakeMaker;
FixMakefile(
ILSM => 'Inline::C',
module => 'Acme::Math::XS',
inline => 'Acme::Math::XS::Inline',
ILSM => 'Inline::C',
);


So you need to use `Inline::Module::MakeMaker` and call `FixMakefile` after
`WriteMakefile`. The arguments specify the information the [Inline::Module]
needs to do the right things. See [Inline::Module::MakeMaker] for more info.
Expand Down
2 changes: 1 addition & 1 deletion lib/Inline/Module.pm
@@ -1,6 +1,6 @@
use strict; use warnings;
package Inline::Module;
our $VERSION = '0.11';
our $VERSION = '0.12';

use Config;
use File::Path;
Expand Down

0 comments on commit 4d4b285

Please sign in to comment.