[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH/RFC libpciaccess/debian-unstable 0/6] build system nitpicks



Hi,

Looking into packaging the API docs described by src/Doxyfile, I got
sidetracked by simplifying debian/rules using dh and generating the
upstream changelog automatically from the git repo (all of which seem
to work well).  This patch series does none of those things --- it
just carries out some minor cleanups.

Patch 1 makes "debian/rules clean" work without fakeroot (which
is a pet peeve of mine and how "dh clean" works, anyway).

Patch 2 uses dh_prep in place of dh_clean -k, since the latter
makes some noise about being deprecated nowadays.

Patch 3 writes "7" to debian/compat, since debhelper 7 is needed
for patch 2 anyway.

Patch 4 adds a debian/.gitignore.

Patch 5 uses dpkg-buildflags to retrieve CFLAGS.

Patch 6 removes some noise from the ./configure compile line.

No change noticed in the binary packages with debdiff.  These are just
nitpicks, so please feel free to take what looks good and discard the
rest.

Thoughts?
Jonathan Nieder (6):
  debian/rules: do not require (fake) root privileges to clean
  debian/rules: avoid deprecated dh_clean --keep syntax
  debian/rules: adopt debhelper v7 semantics
  debian: avoid tracking build products
  debian/rules: let build machine admins tweak build flags
  debian/rules: omit unnecessary settings for ./configure

 debian/.gitignore |   10 ++++++++++
 debian/changelog  |   14 ++++++++++++++
 debian/compat     |    2 +-
 debian/control    |    3 ++-
 debian/rules      |   12 ++----------
 5 files changed, 29 insertions(+), 12 deletions(-)
 create mode 100644 debian/.gitignore


Reply to: