HardenedBSD/gnu/usr.bin/groff/afmtodit/Makefile.sub
1995-01-15 08:10:00 +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