commit - 8a374bef6789587df7b98f8b6bf88ebfaaed7bc2
commit + 028b45472c17163713361d1542d5761dc497a882
blob - fac65022d1119cc00b0bc15b37baaba55be1930f
blob + 8fb317674c632c7d9550027704a3baba871197e9
--- Makefile
+++ Makefile
# See LICENSE file for copyright and license details.
.POSIX:
-VERSION = 0.1.5
+VERSION = 0.1.6
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
CFLAGS = -pipe -O2 -Wall -Werror
rm -f lsblk
install: lsblk
- mkdir -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANPREFIX}/man8
- cp -f lsblk ${DESTDIR}${PREFIX}/bin
- chmod 755 ${DESTDIR}${PREFIX}/bin/lsblk
+ mkdir -p ${DESTDIR}${PREFIX}/sbin ${DESTDIR}${MANPREFIX}/man8
+ cp -f lsblk ${DESTDIR}${PREFIX}/sbin
+ chmod 755 ${DESTDIR}${PREFIX}/sbin/lsblk
sed "s/@VERSION@/${VERSION}/" lsblk.8 > ${DESTDIR}${MANPREFIX}/man8/lsblk.8
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/bin/lsblk
+ rm -f $(DESTDIR)$(PREFIX)/sbin/lsblk