blob: 264e1a54b032dca28a56c6725d3f540b3ce5dbd6 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#
# $Id: Makefile.sub,v 1.4 2000/04/09 08:25:18 millert Exp $
#
MAN7=groff_mm.7 groff_mmse.7
FILES=0.MT 5.MT 4.MT ms.cov se_ms.cov
# Local configuration files with default values.
LOCALE = locale se_locale
CLEANADD=temp
tmac_m=m
install: install_mm
install_mm: install_m
-test -d $(tmacdir)/mm || mkdir $(tmacdir)/mm
-for f in $(FILES); do \
rm -f $(tmacdir)/mm/$$f; \
$(INSTALL_DATA) $(srcdir)/mm/$$f $(tmacdir)/mm/$$f; \
done
-for f in $(LOCALE); do \
test -f $(tmacdir)/mm/$$f || touch $(tmacdir)/mm/$$f; \
done
install_m:
-test -d $(tmacdir) || mkdir $(tmacdir)
-rm -f $(tmacdir)/tmac.$(tmac_m)
$(INSTALL_DATA) $(srcdir)/tmac.m $(tmacdir)/tmac.$(tmac_m)
@sed -e "s;^.mso tmac.m;.mso $(tmac_m);g" $(srcdir)/tmac.mse \
> $(tmacdir)/tmac.$(tmac_m)se
uninstall_sub:
-for f in $(FILES); do rm -f $(tmacdir)/mm/$$f; done
-for f in $(LOCALE); do \
test -s $(tmacdir)/mm/$$f || rm -f $(tmacdir)/mm/$$f; \
done
-rm -f $(tmacdir)/tmac.$(tmac_m)
-rm -f $(tmacdir)/tmac.$(tmac_m)se
-rmdir $(tmacdir)/mm
|