Remove constrained path on clean

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
This commit is contained in:
наб 2022-05-03 13:17:50 +02:00 committed by Brian Behlendorf
parent e8ca724393
commit 3ed04d66aa
3 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,7 @@ CLEANFILES =
EXTRA_DIST =
INSTALL_DATA_HOOKS =
ALL_LOCAL =
CLEAN_LOCAL =
CHECKS = shellcheck checkbashisms
include $(top_srcdir)/config/Rules.am
@ -87,6 +88,9 @@ distclean-local:
-o -name '*.gcno' \) \
-type f -delete
PHONY += $(CLEAN_LOCAL)
clean-local: $(CLEAN_LOCAL)
PHONY += $(ALL_LOCAL)
all-local: $(ALL_LOCAL)

View File

@ -32,6 +32,7 @@ install-exec-local:
--single-version-externally-managed \
--verbose
clean-local:
CLEAN_LOCAL += pyzfs-clean-local
pyzfs-clean-local:
-$(RM) -r %D%/build/ %D%/pyzfs.egg-info/
endif

View File

@ -75,6 +75,10 @@ ALL_LOCAL += scripts-all-local
scripts-all-local: %D%/common.sh
-SCRIPT_COMMON=$< $(srcdir)/%D%/zfs-tests.sh -c
CLEAN_LOCAL += scripts-clean-local
scripts-clean-local:
-$(RM) -r tests/zfs-tests/bin/
INSTALL_DATA_HOOKS += scripts-install-data-hook
scripts-install-data-hook: %D%/common.sh.in Makefile
-$(SED) -e '/^export BIN_DIR=/s|$$|$(bindir)|' \