]> Cypherpunks repositories - keks.git/commitdiff
No need in install.do
authorSergey Matveev <stargrave@stargrave.org>
Thu, 9 Oct 2025 19:41:09 +0000 (22:41 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 9 Oct 2025 19:41:56 +0000 (22:41 +0300)
c/doc/install.texi
c/lib/cm/install [moved from c/lib/cm/install.do with 82% similarity, mode: 0755]
c/lib/install [moved from c/lib/install.do with 82% similarity, mode: 0755]

index 17962c9bd7190fe355606c21cf2dbf1df05118add23aa1338a84617a99ff943e..be766ee8b0698ddd1ea6ee7776154b284dbbf38152e66fff5efbd2bb18b04137 100644 (file)
@@ -19,7 +19,7 @@ $ cat >>conf/cflags <<EOF
 EOF
 $ echo /somewhere/keks >conf/prefix
 
-$ redo lib/install lib/cm/install
+$ lib/install && cm/install
 
 $ cd cmd/pp
 $ redo
old mode 100644 (file)
new mode 100755 (executable)
similarity index 82%
rename from c/lib/cm/install.do
rename to c/lib/cm/install
index bc6bcf1..a848439
@@ -1,3 +1,6 @@
+#!/bin/sh -e
+
+cd "$(dirname "$(realpath -- "$0")")"
 redo-ifchange *.h libkekscm.a ../../conf/prefix
 read PREFIX <../../conf/prefix
 mkdir -p $PREFIX/include/keks/cm $PREFIX/lib
old mode 100644 (file)
new mode 100755 (executable)
similarity index 82%
rename from c/lib/install.do
rename to c/lib/install
index 1dfc283..70835d2
@@ -1,3 +1,6 @@
+#!/bin/sh -e
+
+cd "$(dirname "$(realpath -- "$0")")"
 redo-ifchange *.h libkeks.a keks.pc ../conf/prefix
 read PREFIX <../conf/prefix
 mkdir -p $PREFIX/include/keks $PREFIX/lib