Commit Graph

4 Commits

Author SHA1 Message Date
Ben Hutchings e1fd4b6f1e Move definition of OUTDIR from debian/build/**/Makefile to outer rules
Simplify things by making debian/rules.real, debian/rules and
debian/build/Makefile.inc (for the recursive case) set OUTDIR.
2016-02-19 20:02:31 +00:00
Ben Hutchings 02e867b636 Fix parallel builds of both arch and indep binaries
A parallel 'debian/rules build' will now invoke 'debian/rules.real
build' twice in parallel, which is disastrous.

- Add and use proper build-arch and build-indep targets in
  debian/rules.gen and debian/rules.real
- Assign a separate temporary directory to each target in
  debian/rules.real.  Add the directories to .gitignore and
  the clean rule.
- Pull installation of the lockdep wrapper (which is indep)
  up into debian/rules.real so that we don't end up building
  liblockdep twice in parallel.
2015-12-10 02:44:23 +00:00
Ben Hutchings 5b5133ebf7 Set compiler flags according to dpkg-buildflags
...and in general, pass compiler flags down through all makefiles,
regardless of what creative names people found for the variables.
2015-09-25 22:13:52 +01:00
Ben Hutchings 042546e3a1 Add liblockdep packages
liblockdep is in fairly bad shape - one patch needed to make it build
at all, another to make it build in a separate directory successfully,
and a third to fix the soname.  And the install rule doesn't install
its public headers.  But maybe it will be useful.
2015-08-14 00:21:08 +02:00