~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
ImportĀ upstreamĀ versionĀ 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
NULL =
4
4
 
5
 
SUBDIRS = build clutter tests po
6
 
 
7
 
if BUILD_GTK_DOC
8
 
SUBDIRS += doc
9
 
endif
10
 
 
11
 
DIST_SUBDIRS = build clutter tests doc po
 
5
SUBDIRS = build clutter tests doc po
12
6
 
13
7
ACLOCAL_AMFLAGS = -I build/autotools
14
8
 
15
9
pcfiles = \
16
10
        clutter-$(CLUTTER_API_VERSION).pc \
17
 
        clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc \
 
11
        clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc \
18
12
        $(NULL)
19
13
 
20
14
# clutter-<major>.<minor>.pc - for generic dependencies
21
15
clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
22
16
        $(QUIET_GEN)cp $< $@
23
17
 
24
 
# clutter-<flavour>-<major>.<minor>.pc - for backend-specific dependencies
25
 
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
 
18
# clutter-<winsys>-<major>.<minor>.pc - for backend-specific dependencies
 
19
clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter.pc
26
20
        $(QUIET_GEN)cp $< $@
27
21
 
28
22
.PHONY: test-report full-report
32
26
pkgconfig_DATA = $(pcfiles)
33
27
pkgconfigdir   = $(libdir)/pkgconfig
34
28
 
35
 
DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
36
 
 
37
 
EXTRA_DIST =                    \
38
 
        ChangeLog.SVN           \
39
 
        clutter.pc.in           \
40
 
        HACKING                 \
41
 
        HACKING.backends        \
42
 
        CODING_STYLE
 
29
EXTRA_DIST =                            \
 
30
        ChangeLog.pre-git-import        \
 
31
        clutter.pc.in                   \
 
32
        $(NULL)
43
33
 
44
34
CLEANFILES = $(pcfiles)
45
35
 
50
40
# Extra clean files so that maintainer-clean removes *everything*
51
41
MAINTAINERCLEANFILES =  \
52
42
        aclocal.m4      \
53
 
        compile         \
54
43
        config.guess    \
55
44
        config.h.in     \
56
 
        config.sub      \
57
45
        configure       \
58
 
        depcomp         \
59
46
        gtk-doc.make    \
60
 
        install-sh      \
61
 
        ltmain.sh       \
62
47
        Makefile.in     \
63
 
        missing         \
64
48
        $(NULL)
65
49
 
66
 
#PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
67
 
PREV_RELEASE=git-import
 
50
include $(top_srcdir)/build/autotools/Makefile.am.changelog
68
51
 
69
 
dist-hook:
70
 
        @if test -d "$(srcdir)/.git"; \
71
 
        then \
72
 
                to=""; \
73
 
                from="$(PREV_RELEASE)"; \
74
 
                echo Creating ChangeLog && \
75
 
                ( cd "$(top_srcdir)" && \
76
 
                  echo '# Generated by configure.  Do no edit.'; echo; \
77
 
                  $(top_srcdir)/missing --run perl $(top_srcdir)/build/gen-changelog.pl $$from..$$to ) > ChangeLog.tmp \
78
 
                && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
79
 
                || ( rm -f ChangeLog.tmp ; \
80
 
                     echo Failed to generate ChangeLog >&2 ); \
81
 
        else \
82
 
                echo A git checkout is required to generate a ChangeLog >&2; \
83
 
        fi
 
52
gcov:
 
53
        @( cd clutter && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?