fi
POD=`echo *.pod`
MAN=`echo $POD|sed 's/\.pod/\.man/g'`
-HTML=`echo $POD|sed 's/perltoc.pod//'|sed 's/\.pod/\.man/g'`
+HTML=`echo $POD|sed 's/perltoc.pod//'|sed 's/\.pod/\.html/g'`
TEX=`echo $POD|sed 's/\.pod/\.tex/g'`
echo "Extracting pod/Makefile (with variable substitutions)"
--libpods=perlfunc:perlguts:perlvar:perlrun:perlop
PERL = ../miniperl
+PERLILIB = $(PERL) -I../lib
REALPERL = ../perl
all: $(CONVERTERS) man
regen_pods: perlmodlib.pod toc
-buildtoc: buildtoc.PL
- $(PERL) -I ../lib buildtoc.PL
+buildtoc: buildtoc.PL perl.pod ../MANIFEST
+ $(PERLILIB) buildtoc.PL
+
+perltoc.pod: buildtoc
man: pod2man $(MAN)
tex: pod2latex $(TEX)
-toc:
- $(PERL) -I../lib buildtoc
+toc perltoc.pod: buildtoc
+ $(PERLILIB) buildtoc
.SUFFIXES: .pm .pod
distclean: realclean
+veryclean: distclean
+ -rm -f *~ *.orig
+
check: checkpods
@echo "checking..."; \
$(PERL) -I../lib checkpods $(POD)
podselect: podselect.PL ../lib/Config.pm
$(PERL) -I ../lib podselect.PL
-perlmodlib.pod: $(PERL) perlmodlib.PL ../mv-if-diff
+perlmodlib.pod: $(PERL) perlmodlib.PL ../mv-if-diff ../MANIFEST
rm -f perlmodlib.tmp
$(PERL) -I ../lib perlmodlib.PL
sh ../mv-if-diff perlmodlib.tmp perlmodlib.pod
compile: all
- $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog;
+ $(REALPERL) -I../lib ../utils/perlcc -o pod2latex.exe pod2latex -log ../compilelog
+ $(REALPERL) -I../lib ../utils/perlcc -o pod2man.exe pod2man -log ../compilelog
+ $(REALPERL) -I../lib ../utils/perlcc -o pod2text.exe pod2text -log ../compilelog
+ $(REALPERL) -I../lib ../utils/perlcc -o checkpods.exe checkpods -log ../compilelog
!NO!SUBS!