diff options
| author | mycroft <mycroft@NetBSD.org> | 1993-08-15 19:14:59 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1993-08-15 19:14:59 +0000 |
| commit | a2213453cea0aeca00a77faa689eafb159a87d0d (patch) | |
| tree | bd9a0994122954f5cf4edf26759300f18e57cc76 /gnu/usr.bin | |
| parent | 9fe1007b7d872f0a677e8ac1fc94a6f74f96ea92 (diff) | |
Use `.if exists' rather than external `test'.
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/groff/devices/Makefile.dev | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/groff/devices/Makefile.dev b/gnu/usr.bin/groff/devices/Makefile.dev index 7d118e57c9a..aee4e971547 100644 --- a/gnu/usr.bin/groff/devices/Makefile.dev +++ b/gnu/usr.bin/groff/devices/Makefile.dev @@ -1,5 +1,5 @@ # from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91 -# $Id: Makefile.dev,v 1.10 1993/08/01 05:42:10 mycroft Exp $ +# $Id: Makefile.dev,v 1.11 1993/08/15 19:14:59 mycroft Exp $ # Client Makefiles define DEVICE and FONTFILES and provide rules for # individual font files @@ -28,10 +28,9 @@ COPY= -c .if !target(install) install: install -d -o $(BINOWN) -g $(BINGRP) -m 755 $(DEVICEDIR) - -if test -d $(.CURDIR)/generate; then \ - install -d -o $(BINOWN) -g $(BINGRP) -m 755 \ - $(DEVICEDIR)/generate; \ - fi +.if exists(${.CURDIR}/generate) + install -d -o $(BINOWN) -g $(BINGRP) -m 755 $(DEVICEDIR)/generate +.endif -for f in $(FONTFILES); do \ install ${COPY} -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$f \ $(DEVICEDIR)/$$f; \ |
