summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2024-05-16 18:41:23 +0100
committerAiden Gall <aiden@aidengall.xyz>2024-05-16 18:41:23 +0100
commit71f19bce3324200cfe7fd86443fa80fe5c4a516f (patch)
tree3366bf70bf9ff3086a9b4b8604dc6763fbecba42
parente97ffa9a4471fd0182017b4d6a2d406a9de03812 (diff)
use consistent braces in makefile
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
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