mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
16 lines
391 B
Plaintext
16 lines
391 B
Plaintext
|
# Build packages for customer distribution.
|
||
|
dir=${1%/*}
|
||
|
cd "$dir"
|
||
|
targets="tarball"
|
||
|
if which dh_clean fakeroot dpkg >/dev/null; then
|
||
|
targets="$targets deb"
|
||
|
else
|
||
|
echo "Skipping debian packages: debhelper and/or dpkg build tools missing." >&2
|
||
|
fi
|
||
|
if which rpm >/dev/null; then
|
||
|
targets="$targets rpm"
|
||
|
else
|
||
|
echo "Skipping rpm packages: rpm build tools missing." >&2
|
||
|
fi
|
||
|
redo-ifchange $targets
|