Need to translate more .h to .ph then just /usr/include &

/usr/include/sys.  Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h".  To be safe we
translate all of /usr/include/* and /usr/include/*/*.

sample error case:
         echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph

Submitted by:	Doug Ambrisko
This commit is contained in:
Julian Elischer 1999-03-18 19:39:07 +00:00
parent 1baefb0612
commit 210f91c89f

View file

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.1 1998/09/09 07:20:29 markm Exp $
# $Id: Makefile,v 1.2 1998/10/11 18:13:42 markm Exp $
#
PROG= h2ph
@ -9,4 +9,4 @@ PROG= h2ph
afterinstall:
cd ${DESTDIR}/usr/include; \
miniperl ${.OBJDIR}/${PROG} -d \
${DESTDIR}/usr/libdata/perl/5.00502/mach * sys/*
${DESTDIR}/usr/libdata/perl/5.00502/mach * */*