PERL = ${perl}
RM_F = ${rm_f}

all: packfile-c.pod packfile-perl.pod core_ops.pod

packfile-c.pod: ../packfile.c
	perldoc -u ../packfile.c > packfile-c.pod

packfile-perl.pod: ../Parrot/PackFile.pm
	perldoc -u ../Parrot/PackFile.pm > packfile-perl.pod

core_ops.pod: ../core.ops
	perldoc -u ../core.ops > core_ops.pod

clean:
	$(RM_F) packfile-c.pod packfile-perl.pod

