NetBSD/gnu/usr.bin/groff/mm/Makefile

36 lines
964 B
Makefile
Raw Normal View History

1994-12-22 12:44:45 +03:00
# $Id: Makefile,v 1.8 1994/12/22 09:45:04 cgd Exp $
1993-07-17 04:50:40 +04:00
# XXX -- this depends on ../include/defs.h
TMACDIR?= /usr/share/tmac
1993-07-15 20:37:48 +04:00
TMACOWN?= bin
TMACGRP?= bin
TMACMODE?= 444
FILES= 0.MT 5.MT 4.MT ms.cov se_ms.cov
LOCALE= locale se_locale
1994-12-22 12:44:45 +03:00
MAN= groff_mm.7 groff_mmse.7
1993-07-15 20:37:48 +04:00
MLINKS= groff_mm.7 mm.7 groff_mmse.7 mmse.7
afterinstall:
install -c -o $(TMACOWN) -g $(TMACGRP) -m $(TMACMODE) \
1993-07-17 04:50:40 +04:00
$(.CURDIR)/tmac.m $(DESTDIR)$(TMACDIR)/tmac.m
1993-07-15 20:37:48 +04:00
install -c -o $(TMACOWN) -g $(TMACGRP) -m $(TMACMODE) \
1993-07-17 04:50:40 +04:00
$(.CURDIR)/tmac.m $(DESTDIR)$(TMACDIR)/tmac.mse
1993-07-15 20:37:48 +04:00
for f in $(FILES); do \
1994-08-22 23:54:44 +04:00
rm -f $(DESTDIR)$(TMACDIR)/mm/$$f; \
1993-07-15 20:37:48 +04:00
install -c -o $(TMACOWN) -g $(TMACGRP) -m $(TMACMODE) \
$(.CURDIR)/mm/$$f $(DESTDIR)$(TMACDIR)/mm/$$f; \
done
for f in $(LOCALE); do \
1993-07-17 04:50:40 +04:00
if test ! -f $(DESTDIR)$(TMACDIR)/mm/$$f; then \
install -c -o $(TMACOWN) -g $(TMACGRP) -m $(TMACMODE) \
1993-07-17 04:50:40 +04:00
/dev/null $(DESTDIR)$(TMACDIR)/mm/$$f; \
fi; \
1993-07-15 20:37:48 +04:00
done
.include "../Makefile.cfg"
.include <bsd.prog.mk>