PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/utils/afmtodit/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 25 lines | 21 code | 4 blank | 0 comment | 0 complexity | bd6bb3d2bcfc40eb3134b112972e5fbe MD5 | raw file
 1MAN1=afmtodit.n
 2CLEANADD=afmtodit
 3
 4all: afmtodit
 5
 6afmtodit: 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
18
19install_data: afmtodit
20	-test -d $(bindir) || $(mkinstalldirs) $(bindir)
21	-rm -f $(bindir)/afmtodit
22	$(INSTALL_SCRIPT) afmtodit $(bindir)/afmtodit
23
24uninstall_sub:
25	-rm -f $(bindir)/afmtodit