I've looked at the knock ebuild in Gentoo today as i had to use it (and I like to review our init scripts when I can), and I noticed a few issues in the build system.
With this commit you have a proper autotools-based system, using automake as well as autoconf, and I also removed from git the files that are generated and shouldn't be there. To rebuild autotools just run autoreconf -i and it will do.
When you'll release a new version, make distcheck will run some extra tests and also create a tar.xz file for you (you can change dist-xz to dist-bzip2 if you wish).
Hi there,
I've looked at the knock ebuild in Gentoo today as i had to use it (and I like to review our init scripts when I can), and I noticed a few issues in the build system.
With this commit you have a proper autotools-based system, using automake as well as autoconf, and I also removed from git the files that are generated and shouldn't be there. To rebuild autotools just run
autoreconf -i
and it will do.When you'll release a new version,
make distcheck
will run some extra tests and also create a tar.xz file for you (you can changedist-xz
todist-bzip2
if you wish).HTH! Diego