A proper fix for the xsubpp problems on Perl 5.8.0.

This commit is contained in:
Andrew Johnson
2008-10-03 18:28:56 +00:00
parent 86740c98d7
commit 150c4ff002
2 changed files with 7 additions and 10 deletions

View File

@@ -43,18 +43,15 @@ endif
include $(TOP)/configure/RULES
ifdef T_A
PERL5_DIR = $(dir $(shell $(PERL) ../perlConfig.pl perl5))
XSUBPP = $(PERL5_DIR)xsubpp$(BAT)
PODCHECKER = $(PERL5_DIR)podchecker$(BAT)
TYPEMAP = $(shell $(PERL) ../perlConfig.pl privlib)/ExtUtils/typemap
EXTUTILS = $(shell $(PERL) ../perlConfig.pl privlib)/ExtUtils
%.c: ../%.xs
$(RM) $@ $@_new
$(XSUBPP) -typemap $(TYPEMAP) $< > $@_new && $(MV) $@_new $@
$(PERL) $(EXTUTILS)/xsubpp -typemap $(EXTUTILS)/typemap $< > $@_new && $(MV) $@_new $@
%.html: %.pm
$(RM) $@
$(PODCHECKER) $< && pod2html --infile=$< --outfile=$@
podchecker $< && pod2html --infile=$< --outfile=$@
clean::
$(RM) Cap5.c