Reign in (a little bit) the sprawling CRLF insanity on Win32
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 61_inject_dbicadmin_pod.pl
CommitLineData
e2633789 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
fc4b0448 8postamble <<"EOP";
9
a0c96f24 10create_distdir : dbic_distdir_dbicadmin_pod_inject
fc4b0448 11
fc4b0448 12dbic_distdir_dbicadmin_pod_inject :
e2633789 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
ffce4b65 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') ]}
fc4b0448 19EOP
20
21# keep the Makefile.PL eval happy
221;