summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2003-10-19 17:46:00 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2003-10-19 17:46:00 +0000
commit0622eaf7fab656e824e6679b288216e93d8022ba (patch)
treeb62a969b762af1e1cda194de1d0c6655b3c838d2 /usr.sbin
parentff71ed733e4ec732ba77e99409c58c257f22a023 (diff)
new targets clean and cleandir
espie@ ok
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/Makefile.bsd-wrapper6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/pkg_add/Makefile.bsd-wrapper b/usr.sbin/pkg_add/Makefile.bsd-wrapper
index 2bb7d42973b..2781339a3f0 100644
--- a/usr.sbin/pkg_add/Makefile.bsd-wrapper
+++ b/usr.sbin/pkg_add/Makefile.bsd-wrapper
@@ -10,6 +10,12 @@ all:
install:
cd ${.OBJDIR} && exec ${MAKE} pure_install
+clean:
+ cd ${.OBJDIR} && exec ${MAKE} clean
+
+cleandir:
+ cd ${.OBJDIR} && rm -fr *
+
# Our lndir is hacked; specify a full path to avoid potential conflicts
# with the one installed with X11.
LNDIR= /usr/bin/lndir