all: Bump API and so version
[profile/ivi/rygel.git] / Makefile.am
1 SUBDIRS = src data tests po doc examples
2
3 pkgconfig_DATA= rygel-core-2.0.pc rygel-renderer-2.0.pc rygel-server-2.0.pc
4 pkgconfigdir = $(libdir)/pkgconfig
5
6 EXTRA_DIST = rygel-core-2.0.pc.in rygel-renderer-2.0.pc.in \
7              rygel-server-2.0.pc.in .version
8
9 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc \
10                             --enable-valadoc
11
12 # Extra clean files so that maintainer-clean removes *everything*
13 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing config.h.in
14
15 ACLOCAL_AMFLAGS = -I m4
16
17 # see build-aux/git-version-get for details
18 BUILT_SOURCES = $(top_srcdir)/.version
19 $(top_srcdir)/.version:
20         echo $(VERSION) > $@-t && mv $@-t $@
21 dist-hook:
22         echo $(VERSION) > $(distdir)/.tarball-version
23         @if test -d "$(srcdir)/.git"; \
24                 then \
25                                 echo Creating ChangeLog && \
26                                 ( cd "$(top_srcdir)" && \
27                                   echo '# Generated by Makefile. Do not edit.'; echo; \
28                                   "$(top_srcdir)"/build-aux/missing --run git log --stat ) > ChangeLog.tmp \
29                                 && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
30                                 || ( rm -f ChangeLog.tmp ; \
31                                          echo Failed to generate ChangeLog >&2 ); \
32                 else \
33                                 echo A git clone is required to generate a ChangeLog >&2; \
34                 fi
35
36 vala-clean:
37         rm -f `find . -name "*.stamp"`