Reign in (a little bit) the sprawling CRLF insanity on Win32
[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 postamble <<"EOP";
9
10 create_distdir : dbic_distdir_dbicadmin_pod_inject
11
12 dbic_distdir_dbicadmin_pod_inject :
13 \t\$(RM_F) \$(DISTVNAME)/script/dbicadmin
14 \t@{[ $mm_proto->oneliner('cat', ['-MExtUtils::Command']) ]} script/dbicadmin maint/.Generated_Pod/dbicadmin.pod > \$(DISTVNAME)/script/dbicadmin
15
16 # FIXME also on win32 EU::Command::cat() adds crlf even if the
17 # source files do not contain any :(
18 @{[ $crlf_fixup->('$(DISTVNAME)/script/dbicadmin') ]}
19 EOP
20
21 # keep the Makefile.PL eval happy
22 1;