Make pod generation more palatable to the existing toolchain
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 61_inject_dbicadmin_pod.pl
1 # Makefile syntax allows adding extra dep-specs for already-existing targets,
2 # and simply appends them on *LAST*-come *FIRST*-serve basis.
3 # This allows us to inject extra depenencies for standard EUMM targets
4
5 postamble <<"EOP";
6
7 create_distdir : dbic_distdir_dbicadmin_pod_inject
8
9 # The pod self-injection code is in fact a hidden option in
10 # dbicadmin itself, we execute the one in the distdir
11 dbic_distdir_dbicadmin_pod_inject :
12 \t\$(ABSPERLRUN) -I\$(DISTVNAME)/lib \$(DISTVNAME)/script/dbicadmin --selfinject-pod
13
14 EOP
15
16 # keep the Makefile.PL eval happy
17 1;