2 ACLOCAL_AMFLAGS = -I m4
4 SUBDIRS = spice-common server
10 pkgconfigdir = $(libdir)/pkgconfig
11 pkgconfig_DATA = spice-server.pc
13 DISTCHECK_CONFIGURE_FLAGS = \
14 --enable-automated-tests \
21 build-aux/git-version-gen \
24 # Generate the ChangeLog file (with all entries since the switch to git)
25 # and insert it into the directory we're about to use to create a tarball.
28 if test -d .git || test -d ../.git; then \
29 $(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \
30 rm -f $(distdir)/ChangeLog; \
31 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
35 dist-hook: gen-ChangeLog
36 echo $(VERSION) > $(distdir)/.tarball-version
38 BUILT_SOURCES = $(top_srcdir)/.version
39 $(top_srcdir)/.version:
40 echo $(VERSION) > $@-t && mv $@-t $@