From cd6e797d5ef067208c3461e4025006534bc3bf16 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Thu, 29 Aug 2024 14:57:34 +0200 Subject: [PATCH] Quoting in Makefile Avoid word splitting and hence potential abuse of variables. Signed-off-by: Georg Pfuetzenreuter --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 2552584..54cbf63 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,12 @@ usage: @echo 'Available targets: "install", "uninstall"' install: - install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SYSCONFDIR)/apparmor.d - install buddycheck.pl $(DESTDIR)$(BINDIR)/buddycheck - pod2man buddycheck.1 > $(DESTDIR)$(MANDIR)/man1/buddycheck.1 - sed s?__BINDIR__?$(BINDIR)? buddycheck.apparmor > $(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck + install -d '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)/man1' '$(DESTDIR)$(SYSCONFDIR)/apparmor.d' + install buddycheck.pl '$(DESTDIR)$(BINDIR)/buddycheck' + pod2man buddycheck.1 > '$(DESTDIR)$(MANDIR)/man1/buddycheck.1' + sed 's?__BINDIR__?$(BINDIR)?' buddycheck.apparmor > '$(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck' uninstall: - rm $(BINDIR)/buddycheck - rm $(MANDIR)/man1/buddycheck.1 - rm $(SYSCONFDIR)/apparmor.d/buddycheck + rm '$(BINDIR)/buddycheck' + rm '$(MANDIR)/man1/buddycheck.1' + rm '$(SYSCONFDIR)/apparmor.d/buddycheck'