Remove special-cased obj dir handling.
This commit is contained in:
parent
2ee2073a53
commit
a420be745a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user