Skip to content

Commit

Permalink
CPAN Release 0.13
Browse files Browse the repository at this point in the history
- Fixed issue #4. Fix tutorial wording.
  • Loading branch information
ingydotnet committed Nov 16, 2014
1 parent 4d4b285 commit 08a585d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Changes
@@ -1,4 +1,9 @@
---
version: 0.13
date: Sun Nov 16 14:36:34 PST 2014
changes:
- Fixed issue #4. Fix tutorial wording.
---
version: 0.12
date: Sat Nov 15 23:09:59 PST 2014
changes:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -202,9 +202,13 @@ uninstall: distdir
(cd $(DISTDIR); perl Makefile.PL; make uninstall)
make clean

clean purge:
clean:
rm -fr blib cpan .build $(DIST) $(DISTDIR)

distclean purge: clean
@git ls-files Makefile --error-unmatch 2>/dev/null >/dev/null || \
(set -x; rm -f Makefile)

#------------------------------------------------------------------------------
# Non-pulic-facing targets:
#------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Meta
@@ -1,7 +1,7 @@
=meta: 0.0.1

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

Expand Down
11 changes: 8 additions & 3 deletions doc/Inline/Module/Tutorial.swim
Expand Up @@ -24,13 +24,14 @@ No matter which framework you use to make modules ([ExtUtils::MakeMaker],
[Dist::Zilla]) etc, you'll need to add a little metadata to the controls. For
now we'll just show `Makefile.PL` way:

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

use lib 'inc'; use Inline::Module::MakeMaker;
use lib 'inc';
use Inline::Module::MakeMaker;
FixMakefile(
module => 'Acme::Math::XS',
inline => 'Acme::Math::XS::Inline',
Expand All @@ -41,6 +42,10 @@ 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.

NOTE: You also need to add `inc` to @INC, even if doesn't exist while you are
developing and testing. It will exist when you ship it to CPAN, and the `make
install` process needs it to work properly.

== The Module

Next we'll "inline" some C code into a Perl module called
Expand All @@ -57,7 +62,7 @@ Next we'll "inline" some C code into a Perl module called
...
1;

Normally you use Inline like this:
Normally you use [Inline::C] like this:

use Inline C => '<... c code ...>';

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.12';
our $VERSION = '0.13';

use Config;
use File::Path;
Expand Down

0 comments on commit 08a585d

Please sign in to comment.