aboutsummaryrefslogtreecommitdiff
path: root/extra/prout/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/prout/build')
-rwxr-xr-xextra/prout/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/prout/build b/extra/prout/build
new file mode 100755
index 00000000..2b6bbb70
--- /dev/null
+++ b/extra/prout/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# Makefile has some issues so we are
+# building manually.
+
+# We want wordsplitting here
+# shellcheck disable=2086
+${CC:-cc} -lcups ${CFLAGS} ${LDFLAGS} prout.c -o prout
+
+install -Dm755 prout "$1/usr/bin/prout"
+install -Dm644 prout.1 "$1/usr/share/man/man1/prout.1"