Files
s390-tools/zpcictl/Makefile
Szabina Korbai 68309ccb7f zpcictl: Implement zsh and bash autocompletion
Add generation of shell autocompletion scripts.

Acked-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Szabina Korbai <szkorbai@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2026-04-30 08:49:26 +02:00

24 lines
518 B
Makefile

include ../common.mak
zsh-completions = _zpcictl
bash-completions = zpcictl.bash
include ../common_autocomp.mak
all: zpcictl
libs = $(rootdir)/libzpci/libzpci.a $(rootdir)/libutil/libutil.a
zpcictl: zpcictl.o $(libs)
install: all
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zpcictl $(DESTDIR)$(BINDIR)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 zpcictl.8 \
$(DESTDIR)$(MANDIR)/man8
clean:
rm -f *.o *~ zpcictl core
.PHONY: all install clean