Skip to content

Commit

Permalink
Added / aligned Windows instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
David Farrell authored and xsawyerx committed Feb 11, 2015
1 parent d74fbed commit 517b051
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions chapter_00/chapter_00.pod
Expand Up @@ -66,6 +66,10 @@ Create it in the top-level directory with the following command:

perl -MDevel::PPPort -E'Devel::PPPort::WriteFile'

Or on Windows cmd.exe with Strawberry Perl:

perl -MDevel::PPPort -E"Devel::PPPort::WriteFile"

=head3 XSFun.xs

The XS file contains both XS code and possibly valid C code. At first we
Expand Down
2 changes: 2 additions & 0 deletions chapter_01/chapter_01.pod
Expand Up @@ -89,6 +89,8 @@ Now let's run the tests:
You can also run the following command to clean up your directory:

make distclean

(if you're using Strawberry Perl on Windows, use C<dmake> instead of C<make>)

I<Why use C<Test::More::is> instead of C<Test::More::cmp_ok>?>

Expand Down
2 changes: 2 additions & 0 deletions chapter_02/chapter_02.pod
Expand Up @@ -53,3 +53,5 @@ Now try to compile and run the code:

perl Makefile.PL && make && make test

(if you're using Strawberry Perl on Windows, use C<dmake> instead of C<make>)

11 changes: 6 additions & 5 deletions chapter_03/chapter_03.pod
Expand Up @@ -40,6 +40,10 @@ You can generate the F<ppport.h> file using the following command:

perl -MDevel::PPPort -E'Devel::PPPort::WriteFile'

Or on Windows cmd.exe with Strawberry Perl:

perl -MDevel::PPPort -E"Devel::PPPort::WriteFile"

=head3 Chromaprint.pm

Create a directory structure F<lib/Audio> and inside the file
Expand Down Expand Up @@ -74,10 +78,7 @@ The F<MANIFEST> file can be easily created with the command:
# Perl on GNU/Linux, BSD, Solaris:
perl Makefile.PL && make manifest && make distclean

# Strawberry Perl on Windows:
perl Makefile.PL
dmake manifest
dmake distclean
(if you're using Strawberry Perl on Windows, use C<dmake> instead of C<make>)

=head3 Chromaprint.xs

Expand Down Expand Up @@ -241,7 +242,7 @@ Try it out:

perl Makefile.PL && make && make test

(if you're using Strawberry Perl, use C<dmake> instead of C<make>)
(if you're using Strawberry Perl on Windows, use C<dmake> instead of C<make>)

=head2 To increment or not to increment

Expand Down

0 comments on commit 517b051

Please sign in to comment.