Commit 7e46765e authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Do not forget that the models live in =$(srcdir)=

parent c561431b
# tarot implements the rules of the tarot game
# Copyright (C) 2019 Vivien Kraus
# Copyright (C) 2019, 2020 Vivien Kraus
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -28,7 +28,7 @@ dist_model_DATA = \
%reldir%/linear-5.model \
%reldir%/stacking.model
MAINTAINERCLEANFILES += \
MODEL_SOURCE_HEADER_FILES = \
$(srcdir)/%reldir%/tree-1.h \
$(srcdir)/%reldir%/tree-2.h \
$(srcdir)/%reldir%/tree-3.h \
......@@ -41,14 +41,16 @@ MAINTAINERCLEANFILES += \
$(srcdir)/%reldir%/linear-5.h \
$(srcdir)/%reldir%/stacking.h
MAINTAINERCLEANFILES += $(MODEL_SOURCE_HEADER_FILES)
dist_noinst_SCRIPTS += $(PREDICTORS)
learn_verbose = $(learn_verbose_@AM_V@)
learn_verbose_ = $(learn_verbose_@AM_DEFAULT_V@)
learn_verbose_0 = @echo " LEARN " $@;
EXTRA_DIST += $(dist_model_DATA:.model=.h) %reldir%/gen-c-code.xsl
BUILT_SOURCES += $(dist_model_DATA:.model=.h)
EXTRA_DIST += $(MODEL_SOURCE_HEADER_FILES) %reldir%/gen-c-code.xsl
BUILT_SOURCES += $(MODEL_SOURCE_HEADER_FILES)
AM_CPPFLAGS += -I %reldir% -I $(srcdir)/%reldir%
......
# tarot implements the rules of the tarot game
# Copyright (C) 2019 Vivien Kraus
# Copyright (C) 2019, 2020 Vivien Kraus
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -21,7 +21,7 @@ src_libtarot_libtarot_la_SOURCES += \
%reldir%/features.c \
%reldir%/tarot/features_private.h \
%reldir%/tarot/features_private_impl.h \
$(dist_model_DATA:.model=.h)
$(MODEL_SOURCE_HEADER_FILES)
INTROSPECTED_SOURCES += %reldir%/features.c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment