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, 7 insertions, 3 deletions
diff --git a/core/cpt/build b/core/cpt/build
index c7e2ba43..6b2e4e0f 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,6 +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
+
+clinst -Dm644 cpt-base "$1/etc/cpt/base"
+clinst -Dm755 news "$1/usr/bin/cpt-news"