summaryrefslogtreecommitdiffstats
path: root/debian/mk.control
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mk.control')
-rwxr-xr-xdebian/mk.control17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/mk.control b/debian/mk.control
new file mode 100755
index 00000000..f9251402
--- /dev/null
+++ b/debian/mk.control
@@ -0,0 +1,17 @@
+#!/usr/bin/perl -w
+
+
+open BUILDDEPS, "debian/build-deps";
+@builddeplist = <BUILDDEPS>;
+close BUILDDEPS;
+
+chomp(@builddeplist);
+$builddeps = join(", ", @builddeplist);
+
+open CONTROLIN, "debian/control.in";
+
+while(<CONTROLIN>){
+ s/BUILDDEPS/$builddeps/;
+ print;
+}
+