summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/afmtodit/Makefile.sub
blob: cc1b15bae9d6303c130e573202a492c896623da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MAN1=afmtodit.1
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