This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Commit c6c1776
deb/Makefile: simplify and fix
1. A symbol % is not working as expected in PHONY targets, so
e.g. ubuntu-cosmic was not being rebuild each time, because
ubuntu-cosmic directory exists. The fix is to explicitly mark
every ubuntu-whatever target as phony.
2. Remove code duplication for making packages for different distros.
3. Add missing ubuntu (cosmic, disco) and debian (buster) to the
appropriate targets.
4. As a side effect, bash completion now lists all the distros
to be build.
5. Exclude raspbian from deb target as it can only be built on ARM.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit c048fc8)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Upstream-commit: 92b35fb0c64dedec3b820da6ce486b8501354136
Component: packaging1 parent 0050cf5 commit c6c1776
1 file changed
Lines changed: 11 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | | - | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | | - | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | | - | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 71 | + | |
81 | 72 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 73 | + | |
| 74 | + | |
85 | 75 | | |
86 | 76 | | |
87 | 77 | | |
| |||
0 commit comments