aboutsummaryrefslogtreecommitdiff
path: root/testing/cpt/build
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cpt/build')
-rwxr-xr-xtesting/cpt/build9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/cpt/build b/testing/cpt/build
new file mode 100755
index 00000000..7c0d36f6
--- /dev/null
+++ b/testing/cpt/build
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+docs=$(./src/cpt-list --check texinfo yes no)
+make PREFIX=/usr "DOCS=$docs" DESTDIR="$1" install
+
+install -Dm644 cpt-base "$1/etc/cpt-base"
+install -Dm755 news "$1/usr/bin/cpt-news"
+
+install -Dm755 src/cpt "$1/usr/bin/cpt"