which works nicely since the build dir is before the source dir in the
include path.
noinst_HEADERS = setup.h transfer.h
-BUILT_SOURCES = $(srcdir)/getdate.c $(srcdir)/ca-bundle.h
+BUILT_SOURCES = $(srcdir)/getdate.c $(top_builddir)/lib/ca-bundle.h
# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
$(srcdir)/getdate.c: getdate.y
$(YACC) $(YFLAGS) getdate.y; \
mv -f y.tab.c getdate.c
-$(srcdir)/ca-bundle.h: Makefile.in Makefile
+$(top_builddir)/lib/ca-bundle.h: Makefile.in Makefile
@if test -f $@; then \
chmod 0644 $@; \
fi