mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 11:59:34 +03:00
8041b2f019
ln will fail if the target already exists, which causes make to bail out. Adding -f makes it more "compiler-like", overwriting the target instead. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Mateusz Piotrowski <0mp@FreeBSD.org> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #16423
10 lines
288 B
Makefile
10 lines
288 B
Makefile
nodist_bashcompletion_DATA = %D%/zfs %D%/zpool
|
|
COMPLETION_FILES = %D%/zfs
|
|
SUBSTFILES += $(COMPLETION_FILES)
|
|
|
|
SHELLCHECKSCRIPTS += $(COMPLETION_FILES)
|
|
$(call SHELLCHECK_OPTS,$(COMPLETION_FILES)): SHELLCHECK_SHELL = bash
|
|
|
|
%D%/zpool: %D%/zfs
|
|
$(LN_S) -f zfs $@
|