* src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
[s-roff.git] / src / utils / afmtodit / Makefile.sub
blob53afc74bfa408272cb10be7c4a3e4465134615a6
1 MAN1=afmtodit.n
2 CLEANADD=afmtodit
4 all: afmtodit
6 afmtodit: afmtodit.pl
7         if test -n "$(PERLPATH)"; then \
8           sed -e "s|/usr/bin/perl|$(PERLPATH)|" \
9               -e "s|@VERSION@|$(version)$(revision)|" \
10               -e "s|@FONTDIR@|$(fontdir)|" \
11               $(srcdir)/afmtodit.pl >afmtodit; \
12         else \
13           sed -e "s|@VERSION@|$(version)$(revision)|" \
14               -e "s|@FONTDIR@|$(fontdir)|" \
15               $(srcdir)/afmtodit.pl >afmtodit; \
16         fi
17         chmod +x afmtodit
19 install_data: afmtodit
20         -test -d $(bindir) || $(mkinstalldirs) $(bindir)
21         -rm -f $(bindir)/afmtodit
22         $(INSTALL_SCRIPT) afmtodit $(bindir)/afmtodit
24 uninstall_sub:
25         -rm -f $(bindir)/afmtodit