diff options
author | Aiden Gall <aiden@aidengall.xyz> | 2024-05-16 18:41:23 +0100 |
---|---|---|
committer | Aiden Gall <aiden@aidengall.xyz> | 2024-05-16 18:41:23 +0100 |
commit | 71f19bce3324200cfe7fd86443fa80fe5c4a516f (patch) | |
tree | 3366bf70bf9ff3086a9b4b8604dc6763fbecba42 | |
parent | e97ffa9a4471fd0182017b4d6a2d406a9de03812 (diff) |
use consistent braces in makefile
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |