diff options
Diffstat (limited to '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 |