summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-07-17 11:58:38 +0000
committermycroft <mycroft@NetBSD.org>1993-07-17 11:58:38 +0000
commita420be745a2e58162f4649bc74852ca11e0ff4bf (patch)
tree602c8d502bdf5104b8a93d7b5fed1871b10395c2 /gnu
parent2ee2073a53f074205b61ab54bac4b2d535af9578 (diff)
Remove special-cased obj dir handling.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/devices/Makefile.dev26
1 files changed, 3 insertions, 23 deletions
diff --git a/gnu/usr.bin/groff/devices/Makefile.dev b/gnu/usr.bin/groff/devices/Makefile.dev
index 9c1b62f510f..8fa595eb2df 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 <bsd.prog.mk>