freebsd-dev/gnu/usr.bin/perl/utils/Makefile.inc

29 lines
614 B
PHP
Raw Normal View History

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