build: conditional include adg-canvas.h
commitf445cd7e5f0cdc4928586cfde1cd738105121867
authorNicola Fontana <ntd@entidi.it>
Tue, 26 Mar 2019 16:19:41 +0000 (26 17:19 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 26 Mar 2019 16:19:41 +0000 (26 17:19 +0100)
tree600f921a102c2b3fc9ebfedde9723822023b9090
parentacb5b1b8aaee91adf8be5b37ba3ffb3e7140edfc
build: conditional include adg-canvas.h

adg-canvas.h is created at configure time from a template. On in-place
builds (i.e. where $srcdir is .), the *.h glob of docs/adg/Makefile.am
properly includes that file. On VPATH builds instead, that file must be
manually included in EXTRA_HFILE.

It is required to include any file once (and only once) otherwise
gtk-doc will start barking and bad things will happen.
configure.ac
docs/adg/Makefile.am