97db5d64335cb212ae8d5bd00609b194316793ef
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 61_inject_dbicadmin_pod.pl
1 # without having the pod in the file itself, perldoc may very
2 # well show a *different* document, because perl and perldoc
3 # search @INC differently (crazy right?)
4 #
5 # make sure we delete and re-create the file - just an append
6 # will not do what one expects, because on unixy systems the
7 # target is symlinked to the original
8
9 postamble <<"EOP";
10
11 create_distdir : dbic_distdir_dbicadmin_pod_inject
12
13 dbic_distdir_dbicadmin_pod_inject :
14
15 \t\$(RM_F) \$(DISTVNAME)/script/dbicadmin
16 \t@{[ $mm_proto->oneliner('cat', ['-MExtUtils::Command']) ]} script/dbicadmin maint/.Generated_Pod/dbicadmin.pod > \$(DISTVNAME)/script/dbicadmin
17
18 EOP
19
20 # keep the Makefile.PL eval happy
21 1;