]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: Use --use-header for libvaladoc
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jul 2017 08:34:42 +0000 (10:34 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jul 2017 08:35:16 +0000 (10:35 +0200)
Reduces the size of generated c-sources while avoiding redefinitions.

libvaladoc/Makefile.am

index 4ce79492a2915ae549f5c80d051cd91f56b8f28b..387eeb85916286286a106c789b59bf2e77846017 100644 (file)
@@ -177,6 +177,7 @@ libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES)
                --basedir $(srcdir) \
                --directory $(builddir) \
                -C \
+               --use-header \
                -H valadoc.h \
                --library valadoc \
                --vapi valadoc@PACKAGE_SUFFIX@.vapi \