diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | build-deps.control | 10 | ||||
-rw-r--r-- | build-deps.txt | 7 |
4 files changed, 14 insertions, 11 deletions
@@ -36,7 +36,7 @@ ssh-askpass-gnome-dbgsym_7.9p1-10_amd64.deb | |||
36 | ssh-askpass-gnome_7.9p1-10_amd64.deb | 36 | ssh-askpass-gnome_7.9p1-10_amd64.deb |
37 | ssh_7.9p1-10_all.deb | 37 | ssh_7.9p1-10_all.deb |
38 | rootfs/_build/ | 38 | rootfs/_build/ |
39 | /build-dep-stamp | 39 | /build-deps-stamp |
40 | stack.yaml.lock | 40 | stack.yaml.lock |
41 | samizdat.iso | 41 | samizdat.iso |
42 | TEST_CHILD.*.log | 42 | TEST_CHILD.*.log |
@@ -19,9 +19,9 @@ install-stack: | |||
19 | stack: | 19 | stack: |
20 | @which stack >/dev/null || make install-stack | 20 | @which stack >/dev/null || make install-stack |
21 | 21 | ||
22 | build-deps: build-dep-stamp | 22 | build-deps: build-deps-stamp |
23 | build-dep-stamp: build-deps.txt | 23 | build-deps-stamp: build-deps.control |
24 | sudo apt-get install --no-upgrade $$(cat build-deps.txt) | 24 | sudo mk-build-deps --root-cmd sudo build-deps.control --install --remove |
25 | touch $@ | 25 | touch $@ |
26 | 26 | ||
27 | dynmenu: src/dynmenu.cpp | build-deps | 27 | dynmenu: src/dynmenu.cpp | build-deps |
diff --git a/build-deps.control b/build-deps.control new file mode 100644 index 0000000..fc3eaeb --- /dev/null +++ b/build-deps.control | |||
@@ -0,0 +1,10 @@ | |||
1 | Source: sami | ||
2 | Build-Depends: bridge-utils, | ||
3 | build-essential, | ||
4 | devscripts, | ||
5 | libbz2-dev, | ||
6 | libncurses-dev, | ||
7 | libssl-dev, | ||
8 | parted, | ||
9 | qemu-system-x86, | ||
10 | uml-utilities | ||
diff --git a/build-deps.txt b/build-deps.txt deleted file mode 100644 index ca68e52..0000000 --- a/build-deps.txt +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | build-essential | ||
2 | libncurses-dev | ||
3 | libbz2-dev | ||
4 | libssl-dev | ||
5 | devscripts | ||
6 | parted | ||
7 | qemu-system-x86 | ||