64942372d6
The bundled libsynthesis source needs to go into "src/synthesis". None of the XML config files and templates were installed when using out-of-tree compilation in a clean build directory, because then the $(wildcard) macro didn't actually match any files. Now it checks the source directory and the extra directory prefix is removed before using the resulting file list.
16 lines
935 B
Text
16 lines
935 B
Text
# TODO: preferably generate this list instead
|
|
# ./
|
|
src_templatesdir = $(datadir)/syncevolution/templates
|
|
dist_src_templates_DATA = src/templates/README
|
|
# ./clients
|
|
src_templates_clientsdir = $(datadir)/syncevolution/templates/clients
|
|
dist_src_templates_clients_DATA = $(subst $(srcdir)/,,$(wildcard $(srcdir)/src/templates/clients/*.ini))
|
|
# ./clients/phone
|
|
src_templates_clients_phonedir = $(datadir)/syncevolution/templates/clients/phone
|
|
dist_src_templates_clients_phone_DATA = $(subst $(srcdir)/,,$(wildcard $(srcdir)/src/templates/clients/phone/*.ini))
|
|
# ./contexts
|
|
src_templates_contextsdir = $(datadir)/syncevolution/templates/contexts
|
|
dist_src_templates_contexts_DATA = $(subst $(srcdir)/,,$(wildcard $(srcdir)/src/templates/contexts/*.ini))
|
|
# ./servers
|
|
src_templates_serversdir = $(datadir)/syncevolution/templates/servers
|
|
dist_src_templates_servers_DATA = $(subst $(srcdir)/,,$(wildcard $(srcdir)/src/templates/servers/*.ini))
|