summaryrefslogtreecommitdiff
path: root/usr/src/lib/pyzfs
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2013-08-23 18:31:03 -0400
committerGordon Ross <gwr@nexenta.com>2013-08-30 14:41:32 -0400
commitb6805bf78d2bbbeeaea8909a05623587b42d58b3 (patch)
tree1ed4f5376932228adba6378d95bbea467bdea834 /usr/src/lib/pyzfs
parenta9478106a12424322498e53cf7cd75bd8a4d6004 (diff)
downloadillumos-gate-b6805bf78d2bbbeeaea8909a05623587b42d58b3.tar.gz
4072 make clobber leaves trash
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/lib/pyzfs')
-rw-r--r--usr/src/lib/pyzfs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/lib/pyzfs/Makefile b/usr/src/lib/pyzfs/Makefile
index c39ef5b9c7..c69270f58f 100644
--- a/usr/src/lib/pyzfs/Makefile
+++ b/usr/src/lib/pyzfs/Makefile
@@ -35,12 +35,17 @@ clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
-MSGFILES = `$(FIND) . -name '*.py' -o -name '*.c'`
+MSGFIND = $(FIND) . -name '*.py' -o -name '*.c'
+MSGFILES = $(MSGFIND:sh)
+PYCFIND = $(FIND) . -name '*.pyc'
+PYCFILES = $(PYCFIND:sh)
POFILE = pyzfs.po
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean lint: $(SUBDIRS)
+clobber: $(SUBDIRS)
+ $(RM) $(POFILE) $(PYCFILES)
$(POFILE): pofile_MSGFILES