From a420be745a2e58162f4649bc74852ca11e0ff4bf Mon Sep 17 00:00:00 2001 From: mycroft Date: Sat, 17 Jul 1993 11:58:38 +0000 Subject: [PATCH] Remove special-cased obj dir handling. --- gnu/usr.bin/groff/devices/Makefile.dev | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/gnu/usr.bin/groff/devices/Makefile.dev b/gnu/usr.bin/groff/devices/Makefile.dev index 9c1b62f510f8..8fa595eb2dfa 100644 --- a/gnu/usr.bin/groff/devices/Makefile.dev +++ b/gnu/usr.bin/groff/devices/Makefile.dev @@ -17,33 +17,11 @@ FONTMODE?= 444 all: $(FONTFILES) -.if !target(obj) -.if defined(NOOBJ) -obj: -.else -obj: - @cd ${.CURDIR}; rm -rf obj; \ - here=`pwd`; dest=/usr/obj/`echo $$here | sed 's,/usr/src/,,'`; \ - echo "$$here -> $$dest"; ln -s $$dest obj; \ - if test -d /usr/obj -a ! -d $$dest; then \ - mkdir -p $$dest; \ - else \ - true; \ - fi; -.endif -.endif - .if !target(clean) -clean: +clean cleandir: -rm -f $(FONTFILES) .endif -.if !target(cleandir) -cleandir: - -rm -f $(FONTFILES) - cd ${.CURDIR}; rm -rf obj; -.endif - .if !target(install) install: install -d -o $(BINOWN) -g $(BINGRP) -m 755 $(DEVICEDIR) @@ -56,3 +34,5 @@ install: $(DEVICEDIR)/$$f; \ done .endif + +.include