build(make): cleanup include dir on uninstall

This commit is contained in:
Antonin Décimo 2025-02-13 15:13:42 +01:00 committed by ObserverOfTime
parent c7f877de96
commit 56c2fe59cb

View file

@ -100,6 +100,7 @@ uninstall:
'$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXT) \
'$(DESTDIR)$(INCLUDEDIR)'/tree_sitter/api.h \
'$(DESTDIR)$(PCLIBDIR)'/tree-sitter.pc
rmdir '$(DESTDIR)$(INCLUDEDIR)'/tree_sitter
.PHONY: all install uninstall clean