Skip to content

Commit 3ed04d6

Browse files
nabijaczlewelibehlendorf
authored andcommitted
Remove constrained path on clean
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13316
1 parent e8ca724 commit 3ed04d6

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CLEANFILES =
22
EXTRA_DIST =
33
INSTALL_DATA_HOOKS =
44
ALL_LOCAL =
5+
CLEAN_LOCAL =
56
CHECKS = shellcheck checkbashisms
67

78
include $(top_srcdir)/config/Rules.am
@@ -87,6 +88,9 @@ distclean-local:
8788
-o -name '*.gcno' \) \
8889
-type f -delete
8990

91+
PHONY += $(CLEAN_LOCAL)
92+
clean-local: $(CLEAN_LOCAL)
93+
9094
PHONY += $(ALL_LOCAL)
9195
all-local: $(ALL_LOCAL)
9296

contrib/pyzfs/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ install-exec-local:
3232
--single-version-externally-managed \
3333
--verbose
3434

35-
clean-local:
35+
CLEAN_LOCAL += pyzfs-clean-local
36+
pyzfs-clean-local:
3637
-$(RM) -r %D%/build/ %D%/pyzfs.egg-info/
3738
endif

scripts/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ ALL_LOCAL += scripts-all-local
7575
scripts-all-local: %D%/common.sh
7676
-SCRIPT_COMMON=$< $(srcdir)/%D%/zfs-tests.sh -c
7777

78+
CLEAN_LOCAL += scripts-clean-local
79+
scripts-clean-local:
80+
-$(RM) -r tests/zfs-tests/bin/
81+
7882
INSTALL_DATA_HOOKS += scripts-install-data-hook
7983
scripts-install-data-hook: %D%/common.sh.in Makefile
8084
-$(SED) -e '/^export BIN_DIR=/s|$$|$(bindir)|' \

0 commit comments

Comments
 (0)