HardenedBSD/contrib/groff/afmtodit/Makefile.sub
2000-12-05 18:49:44 +00:00

22 lines
460 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) || $(mkinstalldirs) $(bindir)
-rm -f $(bindir)/afmtodit
$(INSTALL_SCRIPT) afmtodit $(bindir)/afmtodit
uninstall_sub:
-rm -f $(bindir)/afmtodit