aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
-rwxr-xr-xclean.sh5
2 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index c97dc90..ed5fd42 100755
--- a/build.sh
+++ b/build.sh
@@ -6,6 +6,8 @@ set -eux
hash gbp
+./clean.sh
+
# Builds wireguard configuration files.
#
# This mainly copies secret files and `wg0.conf` definition.
diff --git a/clean.sh b/clean.sh
new file mode 100755
index 0000000..977c5ab
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -eux
+
+rm -rf debian/*-config debian/*.debhelper debian/*.substvars