]> git.proxmox.com Git - pve-cluster.git/commit - debian/rules
buildsys: replace autotools with plain makefiles
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 Jul 2018 08:52:48 +0000 (10:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 25 Jul 2018 09:27:14 +0000 (11:27 +0200)
commit2fc19fddb371d2d4cd1f90d4ff6b9162e504ff24
tree97124993fafb31852d6e72cf8b46866dedad94a0
parenta802aaedcb0cb98f8d585e5eeb0c54550e0d873c
buildsys: replace autotools with plain makefiles

pve-cluster is not a big project with to much dependencies, so
autotools was a bit of an overkill for it.
Omit it, plus a ./configure step in general and just use a plain
Makefile - in combination with pkg-config - like we do in our other
projects.

Build time gets reduced quite a bit - albeit the were never that big
anyway...:

(old autotools) time make deb
make deb  12.96s user 1.78s system 94% cpu 15.543 total

(new plain makefile) time make deb
make deb  9.40s user 1.14s system 100% cpu 10.465 total

A third less time needed here, and with compiling in parallel I can
shave off even 1.5 seconds more, so almost  half of the original
time.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
14 files changed:
data/Makefile [new file with mode: 0644]
data/Makefile.am [deleted file]
data/PVE/API2/Makefile [new file with mode: 0644]
data/PVE/CLI/Makefile [new file with mode: 0644]
data/PVE/Cluster/Makefile [new file with mode: 0644]
data/PVE/Makefile [new file with mode: 0644]
data/PVE/Makefile.am [deleted file]
data/autogen.sh [deleted file]
data/config.h.in [deleted file]
data/configure.ac [deleted file]
data/src/Makefile [new file with mode: 0644]
data/src/Makefile.am [deleted file]
data/test/Makefile
debian/rules