Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/pod/Makefile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# pod/Makefile
# This file is derived from pod/Makefile.SH.  Any changes made here will
# be lost the next time you run Configure.

POD = perl.pod perl5004delta.pod perl5005delta.pod perl561delta.pod perl56delta.pod perl570delta.pod perl571delta.pod perl572delta.pod perlapi.pod perlapio.pod perlbook.pod perlboot.pod perlbot.pod perlcall.pod perlclib.pod perlcompile.pod perldata.pod perldbmfilter.pod perldebguts.pod perldebtut.pod perldebug.pod perldelta.pod perldiag.pod perldsc.pod perlebcdic.pod perlembed.pod perlfaq.pod perlfaq1.pod perlfaq2.pod perlfaq3.pod perlfaq4.pod perlfaq5.pod perlfaq6.pod perlfaq7.pod perlfaq8.pod perlfaq9.pod perlfilter.pod perlfork.pod perlform.pod perlfunc.pod perlguts.pod perlhack.pod perlhist.pod perlintern.pod perlintro.pod perliol.pod perlipc.pod perllexwarn.pod perllocale.pod perllol.pod perlmod.pod perlmodinstall.pod perlmodlib.pod perlmodstyle.pod perlnewmod.pod perlnumber.pod perlobj.pod perlop.pod perlopentut.pod perlothrtut.pod perlpacktut.pod perlpod.pod perlpodspec.pod perlport.pod perlre.pod perlref.pod perlreftut.pod perlrequick.pod perlretut.pod perlrun.pod perlsec.pod perlstyle.pod perlsub.pod perlsyn.pod perlthrtut.pod perltie.pod perltoc.pod perltodo.pod perltooc.pod perltoot.pod perltrap.pod perlunicode.pod perluniintro.pod perlutil.pod perlvar.pod perlxs.pod perlxstut.pod

MAN = perl.man perl5004delta.man perl5005delta.man perl561delta.man perl56delta.man perl570delta.man perl571delta.man perl572delta.man perlapi.man perlapio.man perlbook.man perlboot.man perlbot.man perlcall.man perlclib.man perlcompile.man perldata.man perldbmfilter.man perldebguts.man perldebtut.man perldebug.man perldelta.man perldiag.man perldsc.man perlebcdic.man perlembed.man perlfaq.man perlfaq1.man perlfaq2.man perlfaq3.man perlfaq4.man perlfaq5.man perlfaq6.man perlfaq7.man perlfaq8.man perlfaq9.man perlfilter.man perlfork.man perlform.man perlfunc.man perlguts.man perlhack.man perlhist.man perlintern.man perlintro.man perliol.man perlipc.man perllexwarn.man perllocale.man perllol.man perlmod.man perlmodinstall.man perlmodlib.man perlmodstyle.man perlnewmod.man perlnumber.man perlobj.man perlop.man perlopentut.man perlothrtut.man perlpacktut.man perlpod.man perlpodspec.man perlport.man perlre.man perlref.man perlreftut.man perlrequick.man perlretut.man perlrun.man perlsec.man perlstyle.man perlsub.man perlsyn.man perlthrtut.man perltie.man perltoc.man perltodo.man perltooc.man perltoot.man perltrap.man perlunicode.man perluniintro.man perlutil.man perlvar.man perlxs.man perlxstut.man

# no perltoc.html
HTML = perl.html perl5004delta.html perl5005delta.html perl561delta.html perl56delta.html perl570delta.html perl571delta.html perl572delta.html perlapi.html perlapio.html perlbook.html perlboot.html perlbot.html perlcall.html perlclib.html perlcompile.html perldata.html perldbmfilter.html perldebguts.html perldebtut.html perldebug.html perldelta.html perldiag.html perldsc.html perlebcdic.html perlembed.html perlfaq.html perlfaq1.html perlfaq2.html perlfaq3.html perlfaq4.html perlfaq5.html perlfaq6.html perlfaq7.html perlfaq8.html perlfaq9.html perlfilter.html perlfork.html perlform.html perlfunc.html perlguts.html perlhack.html perlhist.html perlintern.html perlintro.html perliol.html perlipc.html perllexwarn.html perllocale.html perllol.html perlmod.html perlmodinstall.html perlmodlib.html perlmodstyle.html perlnewmod.html perlnumber.html perlobj.html perlop.html perlopentut.html perlothrtut.html perlpacktut.html perlpod.html perlpodspec.html perlport.html perlre.html perlref.html perlreftut.html perlrequick.html perlretut.html perlrun.html perlsec.html perlstyle.html perlsub.html perlsyn.html perlthrtut.html perltie.html  perltodo.html perltooc.html perltoot.html perltrap.html perlunicode.html perluniintro.html perlutil.html perlvar.html perlxs.html perlxstut.html

TEX  = perl.tex perl5004delta.tex perl5005delta.tex perl561delta.tex perl56delta.tex perl570delta.tex perl571delta.tex perl572delta.tex perlapi.tex perlapio.tex perlbook.tex perlboot.tex perlbot.tex perlcall.tex perlclib.tex perlcompile.tex perldata.tex perldbmfilter.tex perldebguts.tex perldebtut.tex perldebug.tex perldelta.tex perldiag.tex perldsc.tex perlebcdic.tex perlembed.tex perlfaq.tex perlfaq1.tex perlfaq2.tex perlfaq3.tex perlfaq4.tex perlfaq5.tex perlfaq6.tex perlfaq7.tex perlfaq8.tex perlfaq9.tex perlfilter.tex perlfork.tex perlform.tex perlfunc.tex perlguts.tex perlhack.tex perlhist.tex perlintern.tex perlintro.tex perliol.tex perlipc.tex perllexwarn.tex perllocale.tex perllol.tex perlmod.tex perlmodinstall.tex perlmodlib.tex perlmodstyle.tex perlnewmod.tex perlnumber.tex perlobj.tex perlop.tex perlopentut.tex perlothrtut.tex perlpacktut.tex perlpod.tex perlpodspec.tex perlport.tex perlre.tex perlref.tex perlreftut.tex perlrequick.tex perlretut.tex perlrun.tex perlsec.tex perlstyle.tex perlsub.tex perlsyn.tex perlthrtut.tex perltie.tex perltoc.tex perltodo.tex perltooc.tex perltoot.tex perltrap.tex perlunicode.tex perluniintro.tex perlutil.tex perlvar.tex perlxs.tex perlxstut.tex  

# The following is used to include the current directory in
# the dynamic loader path you are building a shared libperl.
LDLIBPTH = 


CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
		pod2usage podchecker podselect

HTMLROOT = /	# Change this to fix cross-references in HTML
POD2HTML = pod2html \
	    --htmlroot=$(HTMLROOT) \
	    --podroot=.. --podpath=pod:lib:ext:vms \
	    --libpods=perlfunc:perlguts:perlvar:perlrun:perlop

PERL = ../miniperl
PERLILIB = $(PERL) -I../lib
REALPERL = ../perl

all: $(CONVERTERS) man

converters: $(CONVERTERS)

regen_pods: perlmodlib.pod toc

buildtoc:	buildtoc.PL perl.pod ../MANIFEST
	$(PERLILIB) buildtoc.PL

perltoc.pod:	buildtoc

man:	pod2man $(MAN)

html:	pod2html $(HTML)

tex:	pod2latex $(TEX)

toc perltoc.pod:	buildtoc
	$(PERLILIB) buildtoc

.SUFFIXES: .pm .pod

.SUFFIXES: .man

.pm.man:     pod2man
	$(PERL) -I../lib pod2man $*.pm >$*.man

.pod.man:     pod2man
	$(PERL) -I../lib pod2man $*.pod >$*.man

.SUFFIXES: .html

.pm.html:    pod2html
	$(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html

.pod.html:    pod2html
	$(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html

.SUFFIXES: .tex

.pm.tex: pod2latex
	$(PERL) -I../lib pod2latex $*.pm

.pod.tex: pod2latex
	$(PERL) -I../lib pod2latex $*.pod

clean:
	rm -f $(MAN)
	rm -f $(HTML)
	rm -f $(TEX)
	rm -f pod2html-*cache
	rm -f *.aux *.log *.exe

realclean:	clean
	rm -f $(CONVERTERS)

distclean:	realclean

veryclean:	distclean
	-rm -f *~ *.orig

check:	checkpods
	@echo "checking..."; \
	$(PERL) -I../lib checkpods $(POD)

# Dependencies.
pod2latex:	pod2latex.PL ../lib/Config.pm
	$(LDLIBPTH) $(PERL) -I../lib pod2latex.PL

pod2html:	pod2html.PL ../lib/Config.pm
	$(LDLIBPTH) $(PERL) -I ../lib pod2html.PL

pod2man:	pod2man.PL ../lib/Config.pm
	$(LDLIBPTH) $(PERL) -I ../lib pod2man.PL

pod2text:	pod2text.PL ../lib/Config.pm
	$(LDLIBPTH) $(PERL) -I ../lib pod2text.PL

checkpods:	checkpods.PL ../lib/Config.pm
	$(LDLIBPTH) $(PERL) -I ../lib checkpods.PL

pod2usage:	pod2usage.PL ../lib/Config.pm
	$(PERL) -I ../lib pod2usage.PL

podchecker:	podchecker.PL ../lib/Config.pm
	$(PERL) -I ../lib podchecker.PL

podselect:	podselect.PL ../lib/Config.pm
	$(PERL) -I ../lib podselect.PL

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 -I .. -L .. -o pod2latex.exe pod2latex -log ../compilelog
	$(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o pod2man.exe pod2man -log ../compilelog
	$(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o pod2text.exe pod2text -log ../compilelog
	$(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o checkpods.exe checkpods -log ../compilelog


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.