mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
The reason for this commit is that Meson expects all submodules to be placed in this subdirectory, and since autotools build is more flexible in this case, we make some small adjustments to configure.ac and Makefile.am files to accommodate for this change. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
41 lines
997 B
Makefile
41 lines
997 B
Makefile
NULL =
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS = subprojects/spice-common server docs tools
|
|
|
|
check-valgrind:
|
|
$(MAKE) -C server check-valgrind
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = spice-server.pc
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--disable-celt051 \
|
|
--enable-smartcard \
|
|
--with-sasl \
|
|
--enable-manual \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
build-aux/git-version-gen \
|
|
.version \
|
|
$(NULL)
|
|
|
|
# Generate the ChangeLog file (with all entries since the switch to git)
|
|
# and insert it into the directory we're about to use to create a tarball.
|
|
.PHONY: gen-ChangeLog
|
|
gen-ChangeLog:
|
|
if test -d .git || test -d ../.git; then \
|
|
$(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \
|
|
rm -f $(distdir)/ChangeLog; \
|
|
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
|
fi
|
|
|
|
# see git-version-gen
|
|
dist-hook: gen-ChangeLog
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
$(top_srcdir)/.version:
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|