freebsd-dev/gnu/usr.bin/perl/utils/Makefile.inc
Mark Murray 535cc97895 Nice set of fixes to use SCRIPT instead of PROG, thus fixing up
a lot of nasty STRIP= problems. This has the added side effect
if neatening up some leaf makefiles very nicely.

Submitted by:	ru
2002-02-10 19:48:19 +00:00

29 lines
614 B
Makefile

#
# $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