spice/Makefile.am
Christophe Fergeau 5d942a47da build: Explicitly disable celt051 when running make distcheck
With spice-common commit 72b0d603e12, SPICE_CHECK_CELT051 will error out
if celt051-devel is installed, but neither --enable-celt051 nor
--disable-celt051 are specified. This could be a problem when running
make distcheck, so this commit adds --disable-celt051 so that we never
hit that error.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2018-06-18 14:44:15 +01:00

42 lines
1014 B
Makefile

NULL =
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = 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-automated-tests \
--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 $@