Skip to content

Commit 4704eea

Browse files
committed
install pdldoc
1 parent b916bb5 commit 4704eea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile.PL

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ WriteMakefile(
4040
},
4141
},
4242
);
43+
44+
sub MY::postamble {
45+
my $oneliner = PDL::Core::Dev::_oneliner(qq{exit if \$ENV{DESTDIR}; use PDL::Doc; eval { PDL::Doc::add_module(shift); }});
46+
qq|\ninstall :: pure_install\n\t$oneliner \$(NAME)\n|;
47+
}

0 commit comments

Comments
 (0)