blob: 53afc74bfa408272cb10be7c4a3e4465134615a6 (
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
|