summaryrefslogtreecommitdiff
path: root/debian/mk.control
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2015-06-12 15:54:35 +0100
committerRussell King <rmk@arm.linux.org.uk>2015-06-12 16:23:03 +0100
commiteeb94ce4db96de50fc96f0616eb5b581cd62f123 (patch)
tree55c54bd5541b93dae4420ccccdfc1ea6429dc3d3 /debian/mk.control
parent84cda34f20299e644f1c19e74bd3b7d921483b1a (diff)
Add debian build filesHEADmaster
Add the debian build files to allow building for Ubuntu systems. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'debian/mk.control')
-rw-r--r--debian/mk.control15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/mk.control b/debian/mk.control
new file mode 100644
index 00000000..c59ef757
--- /dev/null
+++ b/debian/mk.control
@@ -0,0 +1,15 @@
+#!/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;
+}