#
#  The stuff below shoudl be OK if you've unpacked the extension in the
# correct place (ie $(PERLSRC)/ext).
#

PERLSRC = ../../..
POD2MAN = $(PERLSRC)/pod/pod2man
POD2HTML = $(PERLSRC)/pod/pod2html
PERL = $(PERLSRC)/miniperl

all: man

POD = \
	sybperl.pod

MAN = \
	sybperl.man

HTML = \
	sybperl.html

man: $(MAN)

html: $(HTML)

.SUFFIXES: .pod .man

.pod.man:
	$(PERL) $(POD2MAN) $*.pod >$*.man

.SUFFIXES: .pod .html

.pod.html:
	$(PERL) $(POD2HTML) $*.pod >$*.html

clean:
	rm -f $(MAN) $(HTML) *~

