commit 0edd5ee83514795e05d2259cc9cd713784be500e parent 2bb3d6b794642dac0630207958f3a876a1c72e25 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 18 Jul 2023 11:32:31 +0200 Adjust uninstall Makefile target Surround the paths of the files to be deleted with quotation marks to manage the potential spaces they contain. Diffstat:
| M | Makefile | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -88,11 +88,11 @@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/share/doc/star-3dut" COPYING README.md uninstall: - rm -f $(DESTDIR)$(PREFIX)/lib/$(LIBNAME) - rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/s3dut.pc - rm -f $(DESTDIR)$(PREFIX)/share/doc/star-3dut/COPYING - rm -f $(DESTDIR)$(PREFIX)/share/doc/star-3dut/README.md - rm -f $(DESTDIR)$(PREFIX)/include/star/s3dut.h + rm -f "$(DESTDIR)$(PREFIX)/lib/$(LIBNAME)" + rm -f "$(DESTDIR)$(PREFIX)/lib/pkgconfig/s3dut.pc" + rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-3dut/COPYING" + rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-3dut/README.md" + rm -f "$(DESTDIR)$(PREFIX)/include/star/s3dut.h" ################################################################################ # Miscellaneous targets