aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index de62eb6..1007ea2 100755
--- a/build.sh
+++ b/build.sh
@@ -2,5 +2,7 @@
# I'm a lazy guy
BDIR="/dev/shm/${PWD##*/}_cmakebuild/"
mkdir -p bin
-cmake -S . -B "${BDIR}" && ( cd "${BDIR}" ; make ) && find "${BDIR}" -maxdepth 1 -perm /u=x,g=x,o=x -type f -exec cp "{}" bin/ \;
+cmake -S . -B "${BDIR}" && ( cd "${BDIR}" ; make) && \
+ find "${BDIR}" -maxdepth 1 -perm /u=x,g=x,o=x -type f -exec cp "{}" bin/ \; && \
+ cp -v "${BDIR}${PWD##*/}.1" man/