Commit Briefs

9590ecb003 Thomas Adam

portable: template: use Makefile.common

libbsd-overlay needs to be declared properly with the correct AM_CFLAGS, but this only happens via a common Makefile.common.in template which gets filled out at ./configure time. This properly ensures libbsd compat libraries, such as getprogname() are correctly found on the system.


9981e8e386 Thomas Adam

portable: template: use as a subproject

Move template into its own subproject as it's only needed at compile-time and shouldn't be installed. This needs compiling with the host compiler which is configurable via HOSTCC and HOSTCLFAG environment variables. This diff largely from op@ but additional tweaking from myself.


d2a5fcbb4e Omar Polo

portable: template: don't install the binary template and its manpages

it's only needed at build time to generate a source file.


a759b903cc Omar Polo

portable: template: drop tmpl.c from SOURCES

was added there mistakenly. it's not part of the "compiler", it's part of the "user library" and provides useful functions for the consumers. see also 1dec34dfda7ccb3caadab65aca907251ab8fd72e


cb11302ca6 Thomas Adam

portable: gotwebd: use template

This updates -portable's gotwebd instance to make use of the new templating engine.