summaryrefslogtreecommitdiffstats
path: root/contrib/groff/afmtodit/Makefile.sub
blob: fb5daac6ce84c578d1073cd534d4ec520eae9496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
OpenPOWER on IntegriCloud