Merge all pod generation into one inc snippet, cleanup the poddir beforehand
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 52_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 .PHONY: dbic_distdir_dbicadmin_pod_inject
8
9 distdir : dbic_distdir_dbicadmin_pod_inject
10
11 # The pod self-injection code is in fact a hidden option in
12 # dbicadmin itself, we execute the one in the distdir
13 dbic_distdir_dbicadmin_pod_inject :
14 \t\$(ABSPERL) -I\$(DISTVNAME)/lib \$(DISTVNAME)/script/dbicadmin --selfinject-pod
15
16 EOP
17
18 # keep the Makefile.PL eval happy
19 1;