diff --git a/src/Makefile.am b/src/Makefile.am index 1946bd3..bdd5b42 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,7 +8,9 @@ VALAFLAGS = \ --pkg gtkspell3-3.0 \ --pkg gee-0.8 \ --pkg posix \ - --target-glib=2.40 + --target-glib=2.40 \ + --vapidir liblatexila \ + --pkg latexila # The valac command is always executed in the sources directory, not the build # directory. If $(top_srcdir) is used, it will be relative to the build directory. @@ -61,8 +63,7 @@ latexila_SOURCES = \ $(vala_files) \ $(vapidir)/config.vapi \ $(vapidir)/gedit.vapi \ - $(vapidir)/menu_tool_action.vapi \ - liblatexila/latexila.vapi + $(vapidir)/menu_tool_action.vapi latexila_CPPFLAGS = \ -I$(top_srcdir) \ diff --git a/src/liblatexila/Makefile.am b/src/liblatexila/Makefile.am index d438b57..430b3ca 100644 --- a/src/liblatexila/Makefile.am +++ b/src/liblatexila/Makefile.am @@ -102,6 +102,8 @@ latexila_vapi_FILES = Latexila.gir noinst_DATA += latexila.vapi CLEANFILES += latexila.vapi +EXTRA_DIST = latexila.vapi + endif # ENABLE_VAPIGEN -include $(top_srcdir)/git.mk