blob: c1de91b1b7853080ff79aab3b58f666132559052 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
MAN1=afmtodit.n
CLEANADD=afmtodit
all: afmtodit
afmtodit: afmtodit.pl
if test -n "$(PERLPATH)"; then \
sed -e "s|/usr/bin/perl|$(PERLPATH)|" \
-e "s|@VERSION@|$(version)$(revision)|" \
-e "s|@FONTDIR@|$(fontdir)|" \
$(srcdir)/afmtodit.pl >afmtodit; \
else \
sed -e "s|@VERSION@|$(version)$(revision)|" \
-e "s|@FONTDIR@|$(fontdir)|" \
$(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
|