diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-10-21 16:26:38 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-10-21 16:26:38 +0000 |
| commit | 02b537bd23b9c31d24f6e08e7612162347a082d1 (patch) | |
| tree | f9c048c51524c7748262bb9f338bcb637f3fe396 /gnu/usr.bin/groff/font | |
| parent | b2105a0990d2c8d11ca9921b0ddc851281cf7b59 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/groff/font')
| -rw-r--r-- | gnu/usr.bin/groff/font/Makefile.dev | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/usr.bin/groff/font/Makefile.dev b/gnu/usr.bin/groff/font/Makefile.dev index 36c3f30a526e..2aa71f87e116 100644 --- a/gnu/usr.bin/groff/font/Makefile.dev +++ b/gnu/usr.bin/groff/font/Makefile.dev @@ -13,18 +13,15 @@ FONTMODE?= 444 all: $(FONTFILES) -.if !target(maninstall) -maninstall: - @echo -n -.endif - -.if !target(install) -install: - for f in $(FONTFILES); do \ - ff=$$f; test -f $$f || ff=${.CURDIR}/$$f || true; \ - $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$ff \ - $(DESTDIR)$(DEVICEDIR)/$$f; \ - done +.for f in $(FONTFILES) +.if exists($f) +beforeinstall: $f +.else +beforeinstall: $(.CURDIR)/$f .endif +.endfor +beforeinstall: + $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \ + ${.ALLSRC} $(DESTDIR)$(DEVICEDIR) .include <bsd.prog.mk> |
