Automake is buggy when you mix C and Vala programs. It tries to call
valac with the full contents of _SOURCES for the program, but valac
errors out when given .h files. Until this is fixed, we can't list .h
files in _SOURCES or "make dist" breaks.
units/systemd-logger.service.in \
units/systemd-logger.socket
units/systemd-logger.service.in \
units/systemd-logger.socket
+# This is needed because automake is buggy in how it generates the
+# rules for C programs, but not Vala programs. We therefore can't
+# list the .h files as dependencies if we want make dist to work.
BASIC_SOURCES = \
util.c \
BASIC_SOURCES = \
util.c \
- log.h \
- ratelimit.c \
- ratelimit.h
COMMON_SOURCES = \
$(BASIC_SOURCES) \
unit.c \
COMMON_SOURCES = \
$(BASIC_SOURCES) \
unit.c \
- fdset.h \
- namespace.h \
namespace.c
systemd_SOURCES = \
namespace.c
systemd_SOURCES = \