mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add generation of shell autocompletion scripts. Modify --devtype flag description to make it compatible with zsh autocompletion. 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>
31 lines
574 B
Makefile
31 lines
574 B
Makefile
# Common definitions
|
|
include ../../common.mak
|
|
|
|
zsh-completions = _lscss
|
|
bash-completions = lscss.bash
|
|
|
|
include ../../common_autocomp.mak
|
|
|
|
libs = $(rootdir)/libccw/libccw.a \
|
|
$(rootdir)/libutil/libutil.a
|
|
|
|
objects = lscss.o misc.o
|
|
|
|
lscss.o: lscss.c
|
|
|
|
all: lscss
|
|
|
|
lscss: $(objects) $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lscss $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -m 644 -c lscss.8 $(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f $(objects) lscss
|
|
|
|
.PHONY: all install clean
|
|
|