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