From 71f19bce3324200cfe7fd86443fa80fe5c4a516f Mon Sep 17 00:00:00 2001 From: Aiden Gall Date: Thu, 16 May 2024 18:41:23 +0100 Subject: use consistent braces in makefile --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c275a19..919e2ef 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ VERSION = 0.1 PREFIX = /usr/local -MANPREFIX = $(PREFIX)/share/man +MANPREFIX = ${PREFIX}/share/man CC = gcc CFLAGS = -std=c89 -pedantic -Wall -Wextra -D_POSIX_C_SOURCE=200809L @@ -46,12 +46,12 @@ dist: clean install: all mkdir -p ${DESTDIR}${PREFIX}/bin - mkdir -p $(DESTDIR)$(MANPREFIX)/man8 - sed "s/VERSION/$(VERSION)/g" < simplebl.8 > $(DESTDIR)$(MANPREFIX)/man8/simplebl.8 - chmod 644 $(DESTDIR)$(MANPREFIX)/man8/simplebl.8 + mkdir -p ${DESTDIR}${MANPREFIX}/man8 + sed "s/VERSION/${VERSION}/g" < simplebl.8 > ${DESTDIR}${MANPREFIX}/man8/simplebl.8 + chmod 644 ${DESTDIR}${MANPREFIX}/man8/simplebl.8 install -Dm755 simplebl ${DESTDIR}${PREFIX}/bin/simplebl chmod u+s ${DESTDIR}${PREFIX}/bin/simplebl uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/simplebl - rm -f $(DESTDIR)$(MANPREFIX)/man8/simplebl.8 + rm -f ${DESTDIR}${PREFIX}/bin/simplebl + rm -f ${DESTDIR}${MANPREFIX}/man8/simplebl.8 -- cgit v1.2.3