File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ CLEANFILES =
2
2
EXTRA_DIST =
3
3
INSTALL_DATA_HOOKS =
4
4
ALL_LOCAL =
5
+ CLEAN_LOCAL =
5
6
CHECKS = shellcheck checkbashisms
6
7
7
8
include $(top_srcdir ) /config/Rules.am
@@ -87,6 +88,9 @@ distclean-local:
87
88
-o -name ' *.gcno' \) \
88
89
-type f -delete
89
90
91
+ PHONY += $(CLEAN_LOCAL )
92
+ clean-local : $(CLEAN_LOCAL )
93
+
90
94
PHONY += $(ALL_LOCAL )
91
95
all-local : $(ALL_LOCAL )
92
96
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ install-exec-local:
32
32
--single-version-externally-managed \
33
33
--verbose
34
34
35
- clean-local :
35
+ CLEAN_LOCAL += pyzfs-clean-local
36
+ pyzfs-clean-local :
36
37
-$(RM ) -r %D%/build/ %D%/pyzfs.egg-info/
37
38
endif
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ ALL_LOCAL += scripts-all-local
75
75
scripts-all-local : % D% /common.sh
76
76
-SCRIPT_COMMON=$< $(srcdir ) /%D%/zfs-tests.sh -c
77
77
78
+ CLEAN_LOCAL += scripts-clean-local
79
+ scripts-clean-local :
80
+ -$(RM ) -r tests/zfs-tests/bin/
81
+
78
82
INSTALL_DATA_HOOKS += scripts-install-data-hook
79
83
scripts-install-data-hook : % D% /common.sh.in Makefile
80
84
-$(SED ) -e ' /^export BIN_DIR=/s|$$|$(bindir)|' \
You can’t perform that action at this time.
0 commit comments