aboutsummaryrefslogtreecommitdiffstats
path: root/troff/troff.d/tmac.d/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'troff/troff.d/tmac.d/Makefile.mk')
-rw-r--r--troff/troff.d/tmac.d/Makefile.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/troff/troff.d/tmac.d/Makefile.mk b/troff/troff.d/tmac.d/Makefile.mk
index 444625ce88de..8bb54c185588 100644
--- a/troff/troff.d/tmac.d/Makefile.mk
+++ b/troff/troff.d/tmac.d/Makefile.mk
@@ -24,9 +24,14 @@ install: all $(ROOT)$(MACDIR) $(ROOT)$(MANDIR)/man7
done
clean:
- rm -f andoc bib doc e g m s pm an doc-ditroff
+ rm -f andoc bib doc e g m s pm an doc-ditroff mcolor.7
mrproper: clean
+mcolor.7: mcolor.7.in
+ sed -e 's"/usr/ucblib/doctools/font/devpost/postscript"$(ROOT)$(PSTDIR)"' \
+ -e 's"/usr/ucblib/doctools/tmac"$(ROOT)$(MACDIR)"' \
+ mcolor.7.in > $@
+
$(ROOT)$(MACDIR) $(ROOT)$(MANDIR)/man7:
mkdir -p $@