diff options
| author | Paul Traina <pst@FreeBSD.org> | 1996-09-08 01:27:58 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1996-09-08 01:27:58 +0000 |
| commit | f7c160386ae87d0904503f093e42d98be562d9e9 (patch) | |
| tree | 9f10d6854c5b1802bb9538b7dba03ff1fd865218 /gnu/usr.bin/groff/Makefile.dev | |
| parent | e72c5689b07b95fb040ad0a051840a2c51f6e0dc (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/groff/Makefile.dev')
| -rw-r--r-- | gnu/usr.bin/groff/Makefile.dev | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/Makefile.dev b/gnu/usr.bin/groff/Makefile.dev new file mode 100644 index 000000000000..4d3781fa083b --- /dev/null +++ b/gnu/usr.bin/groff/Makefile.dev @@ -0,0 +1,33 @@ +# @(#)Makefile.dev 6.2 (Berkeley) 3/16/91 +# Client Makefiles define DEV and DEVFILES and provide rules for +# individual font files +# +# $Id$ + +.include "../Makefile.cfg" + +FONTDIR?= /usr/share/groff_font +DEVICEDIR?= $(FONTDIR)/dev$(DEV) +FONTOWN?= bin +FONTGRP?= bin +FONTMODE?= 444 + +all: $(DEVFILES) + +.for f in $(DEVFILES) +.if exists(${.OBJDIR}/$f) +beforeinstall:: ${.OBJDIR}/$f + $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \ + ${.OBJDIR}/$f $(DESTDIR)$(DEVICEDIR) +.elif exists(${.CURDIR}/$f) +beforeinstall:: ${.CURDIR}/$f + $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \ + ${.CURDIR}/$f $(DESTDIR)$(DEVICEDIR) +.else +beforeinstall:: $(DISTDIR)/$f + $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \ + $(DISTDIR)/$f $(DESTDIR)$(DEVICEDIR) +.endif +.endfor + +.include <bsd.prog.mk> |
