src makefile: Install GDB types in debug mode

This commit is contained in:
Frank LENORMAND 2021-11-08 13:39:55 +03:00
parent a70dbda54c
commit 36166d8b0f

View File

@ -153,6 +153,9 @@ installdirs:
$(sharedir)/doc \ $(sharedir)/doc \
$(docdir) \ $(docdir) \
$(mandir) $(mandir)
ifeq ($(debug),yes)
install -d $(sharedir)/gdb
endif
install: kak man installdirs install: kak man installdirs
install -m 0755 kak $(bindir) install -m 0755 kak $(bindir)
@ -169,6 +172,9 @@ ifeq ($(gzip_man),yes)
else else
install -m 0644 ../doc/kak.1 $(mandir) install -m 0644 ../doc/kak.1 $(mandir)
endif endif
ifeq ($(debug),yes)
install -m 0644 ../gdb/kakoune.py $(sharedir)/gdb
endif
install-strip: install install-strip: install
strip -s $(bindir)/kak strip -s $(bindir)/kak