[hackers] [svkbd] Make install fix: install the actual compiled layout || Maarten van Gompel

From: <git_AT_suckless.org>
Date: Wed, 16 Sep 2020 23:32:38 +0200 (CEST)

commit 3a51eafd3aa60d130f8f4ea40273e307246f1f37
Author: Maarten van Gompel <proycon_AT_anaproy.nl>
AuthorDate: Wed Sep 16 16:07:31 2020 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Wed Sep 16 23:31:37 2020 +0200

    Make install fix: install the actual compiled layout

diff --git a/Makefile b/Makefile
index a9ac4d8..885ade9 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -3,7 +3,7 @@
 .POSIX:
 
 NAME = svkbd
-VERSION = 0.2
+VERSION = 0.2.1
 
 include config.mk
 
_AT_@ -50,11 +50,8 @@ dist:
 
 install: all
         mkdir -p ${DESTDIR}${PREFIX}/bin
- for i in ${NAME}-??; \
- do \
- cp $$i ${DESTDIR}${PREFIX}/bin; \
- chmod 755 ${DESTDIR}${PREFIX}/bin/$$i; \
- done
+ cp ${NAME}-${LAYOUT} ${DESTDIR}${PREFIX}/bin
+ chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}-${LAYOUT}
         mkdir -p "${DESTDIR}${MANPREFIX}/man1"
         sed "s/VERSION/${VERSION}/g" < ${MAN1} > ${DESTDIR}${MANPREFIX}/man1/${MAN1}
         chmod 644 ${DESTDIR}${MANPREFIX}/man1/${MAN1}
Received on Wed Sep 16 2020 - 23:32:38 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 16 2020 - 23:36:29 CEST