Completely rewrite the build system
commitd1103ecf57398ac8ef6e0dd123150b4f6eebc4d0
authorRuss Allbery <rra@debian.org>
Mon, 29 May 2017 21:18:00 +0000 (29 14:18 -0700)
committerRuss Allbery <rra@debian.org>
Mon, 29 May 2017 21:18:00 +0000 (29 14:18 -0700)
treea714e9be295b51dcd59be34d8971a2911174eedc
parent33441345231ed5ec7611bcb6aaa49005692a873b
Completely rewrite the build system

* Completely rewrite the build system to use debhelper.
  - Remove all hand-rolled package build rules and let debhelper do the
    package construction.
  - Remove gzip compression from the main build and let debhelper handle
    compression of text files.  This allows debhelper to control the
    gzip flags and do whatever is correct for reproducible builds.
  - The top-level Makefile now has conventional all and install targets
    that build all documents and would install them (not that anyone is
    likely to use the install target other than the packaging).
  - Get the document publication dates from debian/changelog instead of
    the current date for more reproducible builds.
  - Do xmllint validation of the copyright-format and debconf
    specification documents as well.
  - Remove a bunch of old leftovers from the clean and distclean targets
    and make distclean identical to clean.  Stop cleaning editor
    autosave files and patch droppings (this can be destructive).
  - Move all doc-base files into the debian packaging directory.
17 files changed:
.gitignore
Makefile
autopkgtest/Makefile
copyright-format/Makefile
debconf_spec/Makefile
debian/changelog
debian/compat [new file with mode: 0644]
debian/control
debian/doc-base.autopkgtest [moved from autopkgtest.desc with 100% similarity]
debian/doc-base.copyright-format-1.0 [moved from copyright-format-1.0.desc with 100% similarity]
debian/doc-base.debconf-spec [moved from debconf-spec.desc with 100% similarity]
debian/doc-base.debian-menu-policy [moved from debian-menu-policy.desc with 100% similarity]
debian/doc-base.debian-perl-policy [moved from debian-perl-policy.desc with 100% similarity]
debian/doc-base.debian-policy [moved from debian-policy.desc with 100% similarity]
debian/doc-base.fhs [moved from fhs.desc with 100% similarity]
debian/rules
docbook.mk