diff options
author | merakor <cem@ckyln.com> | 2020-12-21 10:02:45 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-12-21 10:02:45 +0000 |
commit | c1c68a205b8cbf0a8ee55f099c27d0a0c7f8afe2 (patch) | |
tree | 0e28e76b2391ba290180df87acdab6577d1dfe3f /install.do | |
parent | 08af0013de1d77cf0ee46245e50007a9fbf79035 (diff) | |
parent | 1535d115d8d0c58ca4a90acbf16b263cf85bb0a1 (diff) | |
download | cpt-c1c68a205b8cbf0a8ee55f099c27d0a0c7f8afe2.tar.gz |
Merge branch 'redo'
FossilOrigin-Name: 046e1a0012624ed9a8934a8a4099710264281bcb6814c1fc0fbe3157c1121d2f
Diffstat (limited to 'install.do')
-rw-r--r-- | install.do | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/install.do b/install.do new file mode 100644 index 0000000..cc11bd4 --- /dev/null +++ b/install.do @@ -0,0 +1,16 @@ +. ./config.rc +redo all + +# Install executables. +mkdir -p "${DESTDIR}${BINDIR}" +getbin | while read -r file; do + cp "$file" "${DESTDIR}${BINDIR}/${file##*/}" + chmod 755 "${DESTDIR}${BINDIR}/${file##*/}" +done + +# Install manual pages. +mkdir -p "${DESTDIR}${MAN1}" +for man in man/*.1; do + cp "$man" "${DESTDIR}${MAN1}/${man##*/}" + chmod 644 "${DESTDIR}${MAN1}/${man##*/}" +done |