freebsd-dev/gnu/usr.bin/perl/x2p/Makefile
Paul Traina 1dd5e27809 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00

24 lines
475 B
Makefile

PROG= a2p
SRCS+= a2p.c hash.c str.c walk.c util.c
CFLAGS+= -I${.CURDIR}/../perl
LDADD= -lm
DPADD= ${LIBM}
MAN1+= a2p.1 s2p.1 h2ph.1
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/s2p \
${DESTDIR}${BINDIR}
install -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/h2ph \
${DESTDIR}${BINDIR}
afterinstall:
-mkdir -p ${DESTDIR}/usr/share/perl/sys
cd ${DESTDIR}/usr/include ; h2ph * sys/*
.include "../../Makefile.inc"
.include <bsd.prog.mk>