aboutsummaryrefslogtreecommitdiff
path: root/core/cpt/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/cpt/build')
-rwxr-xr-xcore/cpt/build5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/cpt/build b/core/cpt/build
index 11f03c51..0a4b365c 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,9 +1,8 @@
#!/bin/sh -e
-make PREFIX=/usr DESTDIR="$1" install
+REDO=$(command -v redo) || REDO=./tools/do
+DESTDIR=$1 PREFIX=/usr "$REDO" install
install -Dm644 cpt-base "$1/etc/cpt-base"
install -Dm755 news "$1/usr/bin/cpt-news"
-# TODO Remove this on the next release
-rm -f "$1/usr/bin/Makefile"