commit 980b9514847cbde6f6a386faf9831b792130addb parent af9b4c67bb978e72e804cea4b3bb7b51803fed71 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 7 May 2024 12:26:36 +0200 Update Makefile "clean" target Enclose the path to the file to be deleted in quotation marks, as it may contain spaces. Make the library to be deleted dependent on the LIB_TYPE macro. Diffstat:
| M | Makefile | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -98,11 +98,11 @@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/share/doc/star-sp" COPYING README.md uninstall: - rm -f $(DESTDIR)$(PREFIX)/lib/libstar-sp.so - rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/star-sp.pc - rm -f $(DESTDIR)$(PREFIX)/share/doc/star-sp/COPYING - rm -f $(DESTDIR)$(PREFIX)/share/doc/star-sp/README.md - rm -f $(DESTDIR)$(PREFIX)/include/star/ssp.h + rm -f "$(DESTDIR)$(PREFIX)/lib/$(LIBNAME)" + rm -f "$(DESTDIR)$(PREFIX)/lib/pkgconfig/star-sp.pc" + rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-sp/COPYING" + rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-sp/README.md" + rm -f "$(DESTDIR)$(PREFIX)/include/star/ssp.h" ################################################################################ # Miscellaneous targets