From 8f9ee7253eb7666af44817b724f1b17bc4ab79e1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 13 Sep 2021 09:06:09 -0300 Subject: Makefile: Remove quotes around $(DESTDIR) and $(PREFIX) This is because the default paths don't need quotes, and if the user provides a path with spaces, they can provide the quotes. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c949bd1..5880e6e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .POSIX: PREFIX = /usr/local -MANPREFIX = '$(PREFIX)/share/man' +MANPREFIX = $(PREFIX)/share/man DATE = 2021-07-16 VERSION = 0.2.3 NAME = git-permalink @@ -35,13 +35,13 @@ clean: src/git-permalink tests/destdirs/ tests/prefix/ tests/remotes/ install: all - mkdir -p '$(DESTDIR)$(PREFIX)/bin' - cp src/git-permalink '$(DESTDIR)$(PREFIX)/bin' - sh doc/manpages.sh -ip '$(DESTDIR)$(MANPREFIX)' $(manpages) + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp src/git-permalink $(DESTDIR)$(PREFIX)/bin + sh doc/manpages.sh -ip $(DESTDIR)$(MANPREFIX) $(manpages) uninstall: - rm -f '$(DESTDIR)$(PREFIX)/bin/git-permalink' - sh doc/manpages.sh -up '$(DESTDIR)$(MANPREFIX)' $(manpages) + rm -f $(DESTDIR)$(PREFIX)/bin/git-permalink + sh doc/manpages.sh -up $(DESTDIR)$(MANPREFIX) $(manpages) # -- cgit v1.2.3