commit 5814b9fa49af185863dcbb3792ce4fb9b8b548bd
parent 1b139fb8c1d37e80bbdf6013600af109d5a92a9d
Author: mrgrouse <bdmfegys@duck.com>
Date: Thu, 3 Jul 2025 06:14:55 -0400
Makefile: remove replace some commands on install target with a single command using install
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -31,9 +31,7 @@ dist: clean
rm -rf birdwm-${VERSION}
install: all
- mkdir -p ${DESTDIR}${PREFIX}/bin
- cp -f birdwm ${DESTDIR}${PREFIX}/bin
- chmod 755 ${DESTDIR}${PREFIX}/bin/birdwm
+ install -D -m 755 birdwm ${DESTDIR}${PREFIX}/bin/birdwm
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < birdwm.1 > ${DESTDIR}${MANPREFIX}/man1/birdwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/birdwm.1