Regen perltoc.
[p5sagit/p5-mst-13.2.git] / pod / Makefile.SH
index 70bf7c7..1471bb7 100644 (file)
@@ -72,7 +72,7 @@ converters: $(CONVERTERS)
 
 regen_pods: perlmodlib.pod toc
 
-buildtoc:      buildtoc.PL
+buildtoc:      buildtoc.PL perl.pod ../MANIFEST
        $(PERL) -I ../lib buildtoc.PL
 
 man:   pod2man $(MAN)
@@ -81,7 +81,7 @@ html: pod2html $(HTML)
 
 tex:   pod2latex $(TEX)
 
-toc:
+toc:   buildtoc
        $(PERL) -I../lib buildtoc
 
 .SUFFIXES: .pm .pod
@@ -122,6 +122,9 @@ realclean:  clean
 
 distclean:     realclean
 
+veryclean:     distclean
+       -rm -f *~ *.orig
+
 check: checkpods
        @echo "checking..."; \
        $(PERL) -I../lib checkpods $(POD)