aboutsummaryrefslogtreecommitdiff
path: root/extra/prout/build
blob: 2b6bbb70ffb8dc4665f8dbe6dd89927623dac5b4 (plain)
1
2
3
4
5
6
7
8
9
10
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"