freebsd-dev/contrib/groff/afmtodit/Makefile.sub
1996-09-07 16:18:32 +00:00

22 lines
450 B
Makefile

MAN1=afmtodit.n
CLEANADD=afmtodit
all: afmtodit
afmtodit: afmtodit.pl
if test -n "$(PERLPATH)"; then \
sed -e 's;/usr/bin/perl;$(PERLPATH);' \
$(srcdir)/afmtodit.pl >afmtodit; \
else \
cp $(srcdir)/afmtodit.pl afmtodit; \
fi
chmod +x afmtodit
install_data: afmtodit
-test -d $(bindir) || mkdir $(bindir)
-rm -f $(bindir)/afmtodit
$(INSTALL_PROGRAM) afmtodit $(bindir)/afmtodit
uninstall_sub:
-rm -f $(bindir)/afmtodit