aboutsummaryrefslogtreecommitdiff
path: root/core/cpt/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/cpt/build')
-rwxr-xr-xcore/cpt/build10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/cpt/build b/core/cpt/build
index 20ced110..6b2e4e0f 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,8 +1,10 @@
#!/bin/sh -e
-make PREFIX=/usr DESTDIR="$1" install
+./configure \
+ --prefix=/usr
-install -Dm644 cpt-base "$1/etc/cpt-base"
-install -Dm755 news "$1/usr/bin/cpt-news"
+make
+make DESTDIR="$1" install
-install -Dm755 src/cpt "$1/usr/bin/cpt"
+clinst -Dm644 cpt-base "$1/etc/cpt/base"
+clinst -Dm755 news "$1/usr/bin/cpt-news"