From e00b20d562153cd6e6c6423db49033112093706b Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 13 Apr 2022 01:41:02 +0200 Subject: [PATCH] build: Misc Makefile fixes --- GNUmakefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index a16f0fe1..7df49620 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -96,7 +96,7 @@ clean: limine-bios-clean limine-uefi32-clean limine-uefi64-clean rm -rf '$(call SHESCAPE,$(BINDIR))' '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp' .PHONY: install-data -install-data: +install-data: all $(INSTALL) -d '$(DESTDIR)$(PREFIX)/share' $(INSTALL) -d '$(DESTDIR)$(PREFIX)/share/limine' $(INSTALL) -m 644 '$(call SHESCAPE,$(BINDIR))/limine.sys' '$(DESTDIR)$(PREFIX)/share/limine/' || true @@ -119,7 +119,7 @@ install: install-data .PHONY: uninstall uninstall: rm -f '$(DESTDIR)$(PREFIX)/bin/limine-install' - rm -f '$(DESTDIR)$(PREFIX)/share/limine' + rm -rf '$(DESTDIR)$(PREFIX)/share/limine' $(call MKESCAPE,$(BUILDDIR))/stage1.stamp: $(STAGE1_FILES) $(call MKESCAPE,$(BUILDDIR))/decompressor-build/decompressor.bin $(call MKESCAPE,$(BUILDDIR))/common-bios/stage2.bin.gz mkdir -p '$(call SHESCAPE,$(BINDIR))'