diff --git a/src/cap5/Makefile b/src/cap5/Makefile index 7573c8218..b5985bb67 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -38,15 +38,18 @@ endif include $(TOP)/configure/RULES ifdef T_A + PERL5_DIR = $(dir $(shell $(PERL) ../perlConfig.pl perl5)) + XSUBPP = $(PERL5_DIR)xsubpp$(EXE) + PODCHECKER = $(PERL5_DIR)podchecker$(EXE) TYPEMAP = $(shell $(PERL) ../perlConfig.pl privlib)/ExtUtils/typemap %.c: ../%.xs $(RM) $@ $@_new - xsubpp -typemap $(TYPEMAP) $< > $@_new && $(MV) $@_new $@ + $(XSUBPP) -typemap $(TYPEMAP) $< > $@_new && $(MV) $@_new $@ %.html: %.pm $(RM) $@ - podchecker $< && pod2html --infile=$< --outfile=$@ + $(PODCHECKER) $< && pod2html --infile=$< --outfile=$@ clean:: $(RM) Cap5.c