-
Committer:
Bazaar Package Importer
-
Author(s):
Loïc Minier
-
Date:
2009-09-23 09:18:41 UTC
-
Revision ID:
james.westby@ubuntu.com-20090923091841-iuffth44p1v6kiik
Tags: 0.11.0~rc2-0ubuntu8
* Drop awful binary-static target; binary-arch works fine and binary-static
is not guaranteed to be called (in fact it was only called on the arch:
all buildd, i.e. i386, even if there are no arch: all packages here).
Similarly, merge build-static commands with build-arch commands.
Similarly, merge install-static commands with install commands.
* Replace configure-static with $(STATIC_BUILDDIR)/config.status which
matches config.status; let $(STATIC_BUILDDIR)/config.status depend on
configure.
* Depending on whether we want to build a qemu-%-static package, as reported
by dh_listpackages, set DO_STATIC and MAYBE_STATIC_CONFIG to "yes" and
$(STATIC_BUILDDIR)/config.status (or "no" and empty) and use these vars to
conditionalize the build.
* Drop unexisting targets from .PHONY.
* Let build depend on build-indep and build-arch.
* Use $(MAKE) -C instead of cd && $(MAKE).
* Consistenly use $() for make vars instead of mixing with ${}.
* Drop conditional for quilt.make being present, it's always satisfied per
build-deps, and move the include to the top of rules.
* Remove boilerplate comments from rules.
* Don't overwrite CFLAGS from the environment and honour DEB_BUILD_OPTIONS
in a more condensed manner.
* Use DEB_BUILD_ARCH instead of calling dpkg-architecture repeatedly.
* Let the config.status targets depend on patch instead of configure.
* Rename STATIC_BUILDDIR to debian/build-static to avoid clashes with a
possible qemu-static.
* No need for build-{arch,indep} to depend on patch, actually they should
only depend on the -stamp file which itself should depend on
config.status targets.
* Drop build-arch/build-indep split in favour of a single build target; the
split was unused and not supported properly anyway; let install depend on
build and binary-{indep,arch} depend on install.
* Also pass -k debian/changelog.qemu debian/changelog.kvm to
dh_installchangelogs in binary-arch.
* Drop unused binary-indep commands.
* Drop -s from dh_testdir/dh_testroot.
* Test for config-host.mak before calling $(MAKE) in clean: and drop the
bogus dep on the config.status target.
* Call unpatch explicitly after distclean instead of using a dep as we don't
want to run upstream rules unpatched.
* Rename config.status targets to config-host.mak since it's the actual name
of the file spit by configure.
* Rework copying of sources for static build to filter-out the debian and
potentially the static build dir and hence avoid the || true error
handler.
* Install old Debian changelogs debian/changelog.{kvm,qemu} with
dh_installdocs; drop the dh_installchangelogs hacks, that resurrects the
actual upstream changelog.
* Drop bogus debian/qemu-arm-static.install for now as it installs to the
wrong dir.
* Rework qemu-arm-static.{postint,prerm} to not hardcode the update-binfmts
pathname, not do useless tests, and to drop boilerplate.
* Rework postinst to set -e and to drop boilerplate.
* Add install-stamp to run install only once; install should really be
reworked to install to debian/tmp, moving the copying to binary packages
to binary-%.
* Add watch file.
* Add debian/README.source pointing at the quilt one.