Skip to content

Commit

Permalink
Remove constrained path on clean
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#13316
  • Loading branch information
nabijaczleweli authored and andrewc12 committed Sep 23, 2022
1 parent 6a85e4b commit bc268a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLEANFILES =
EXTRA_DIST =
INSTALL_DATA_HOOKS =
ALL_LOCAL =
CLEAN_LOCAL =
CHECKS = shellcheck checkbashisms

include $(top_srcdir)/config/Rules.am
Expand Down Expand Up @@ -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)

Expand Down
3 changes: 2 additions & 1 deletion contrib/pyzfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions scripts/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)|' \
Expand Down

0 comments on commit bc268a3

Please sign in to comment.