1998-09-09 07:20:33 +00:00
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1998-09-09 07:20:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PERL5SRC= ${.CURDIR}/../../../../../contrib/perl5
|
2000-06-25 14:48:20 +00:00
|
|
|
PERL5LIBSRC= ${.CURDIR}/../../libperl
|
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
MINIPERLOPT?= -I${.OBJDIR}/../../perl/lib -I${.OBJDIR}/../../perl -I${PERL5SRC}
|
1998-09-09 07:20:33 +00:00
|
|
|
|
2002-02-10 19:48:19 +00:00
|
|
|
.if defined(SCRIPTS)
|
|
|
|
.if !defined(NOMAN)
|
|
|
|
MAN= ${SCRIPTS}.1
|
|
|
|
.endif
|
1998-09-09 07:20:33 +00:00
|
|
|
|
2002-02-10 19:48:19 +00:00
|
|
|
${SCRIPTS}: ${SCRIPTS}.PL
|
|
|
|
${MINIPERL} ${MINIPERLOPT} ${.ALLSRC}
|
1998-09-09 07:20:33 +00:00
|
|
|
|
2002-02-10 19:48:19 +00:00
|
|
|
${SCRIPTS}.1: ${SCRIPTS}.PL
|
|
|
|
${MINIPERL} ${MINIPERLOPT} \
|
|
|
|
${.OBJDIR}/../../pod/pod2man/pod2man ${.ALLSRC} > ${.TARGET}
|
1998-09-09 07:20:33 +00:00
|
|
|
|
2002-02-10 19:48:19 +00:00
|
|
|
${SCRIPTS}.PL: ${PERL5SRC}/utils/${SCRIPTS}.PL
|
|
|
|
ln -sf ${.ALLSRC} ${.TARGET}
|
1998-09-09 07:20:33 +00:00
|
|
|
|
2002-02-10 19:48:19 +00:00
|
|
|
CLEANFILES+= ${SCRIPTS} ${SCRIPTS}.1 ${SCRIPTS}.PL pstruct
|
|
|
|
.endif
|