Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / Makefile.am
blob49618cfc81d7a76ca7cd97fe5c46daf152da06af
1 ACLOCAL_AMFLAGS=-I m4
3 pkgconfigdir = $(libdir)/pkgconfig
4 INTERFACE_VERSION=3.0
6 if ENABLE_GTK3
7 %-$(INTERFACE_VERSION).pc: %.pc
8          cp $< $@
10 pkgconfig_in_files =                                    \
11         evolution-calendar-$(INTERFACE_VERSION).pc      \
12         evolution-mail-$(INTERFACE_VERSION).pc          \
13         evolution-plugin-$(INTERFACE_VERSION).pc        \
14         evolution-shell-$(INTERFACE_VERSION).pc
15 pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=-$(INTERFACE_VERSION).pc)
16 else
17 pkgconfig_DATA =                                \
18         evolution-calendar.pc                   \
19         evolution-mail.pc                       \
20         evolution-plugin.pc                     \
21         evolution-shell.pc
22 endif
24 EXTRA_DIST =                    \
25         $(pkgconfig_DATA)       \
26         AUTHORS                 \
27         COPYING-DOCS            \
28         COPYING.LGPL2           \
29         COPYING.LGPL3           \
30         COPYING.OPENLDAP        \
31         README                  \
32         HACKING                 \
33         MAINTAINERS             \
34         NEWS                    \
35         NEWS-1.0                \
36         marshal.mk              \
37         iconv-detect.c          \
38         plugin.mk               \
39         intltool-merge.in       \
40         intltool-update.in      \
41         intltool-extract.in     \
42         evolution-zip.in        \
43         gnome-doc-utils.make    \
44         gtk-doc.make
46 if ENABLE_SMIME
47 SMIME_SUBDIR=smime
48 endif
50 if WITH_HELP
51 HELP_SUBDIR=help
52 endif
54 # For maintainers only.
55 if GLADE_CATALOG
56 MAINT_SUBDIR=maint
57 endif
59 SUBDIRS =                       \
60         m4                      \
61         data                    \
62         smclient                \
63         libgnomecanvas          \
64         e-util                  \
65         a11y                    \
66         filter                  \
67         widgets                 \
68         shell                   \
69         $(SMIME_SUBDIR)         \
70         em-format               \
71         addressbook             \
72         composer                \
73         mail                    \
74         calendar                \
75         capplet                 \
76         art                     \
77         plugins                 \
78         modules                 \
79         $(MAINT_SUBDIR)         \
80         doc                     \
81         ui                      \
82         views                   \
83         po                      \
84         sounds                  \
85         $(HELP_SUBDIR)
87 if ENABLE_GTK3
88 DISTCLEANFILES =                        \
89         $(builddir)/iconv-detect.h      \
90         $(pkgconfig_in_files)
91 else
92 DISTCLEANFILES =                        \
93         $(builddir)/iconv-detect.h
94 endif
96 MAINTAINERCLEANFILES =                  \
97         $(srcdir)/ABOUT-NLS             \
98         $(srcdir)/INSTALL               \
99         $(srcdir)/aclocal.m4            \
100         $(srcdir)/autoscan.log          \
101         $(srcdir)/compile               \
102         $(srcdir)/config.guess          \
103         $(srcdir)/config.h.in           \
104         $(srcdir)/config.rpath          \
105         $(srcdir)/config.sub            \
106         $(srcdir)/configure.scan        \
107         $(srcdir)/depcomp               \
108         $(srcdir)/install-sh            \
109         $(srcdir)/ltmain.sh             \
110         $(srcdir)/missing               \
111         $(srcdir)/mkinstalldirs         \
112         $(srcdir)/gnome-doc-utils.make  \
113         $(srcdir)/gtk-doc.make          \
114         $(srcdir)/m4/codeset.m4         \
115         $(srcdir)/m4/gettext.m4         \
116         $(srcdir)/m4/glibc2.m4          \
117         $(srcdir)/m4/glibc21.m4         \
118         $(srcdir)/m4/gnome-doc-utils.m4 \
119         $(srcdir)/m4/gtk-doc.m4         \
120         $(srcdir)/m4/iconv.m4           \
121         $(srcdir)/m4/intdiv0.m4         \
122         $(srcdir)/m4/intl.m4            \
123         $(srcdir)/m4/intldir.m4         \
124         $(srcdir)/m4/intlmacosx.m4      \
125         $(srcdir)/m4/intltool.m4        \
126         $(srcdir)/m4/intmax.m4          \
127         $(srcdir)/m4/inttypes-pri.m4    \
128         $(srcdir)/m4/inttypes_h.m4      \
129         $(srcdir)/m4/lcmessage.m4       \
130         $(srcdir)/m4/lib-ld.m4          \
131         $(srcdir)/m4/lib-link.m4        \
132         $(srcdir)/m4/lib-prefix.m4      \
133         $(srcdir)/m4/libtool.m4         \
134         $(srcdir)/m4/lock.m4            \
135         $(srcdir)/m4/longlong.m4        \
136         $(srcdir)/m4/ltoptions.m4       \
137         $(srcdir)/m4/ltsugar.m4         \
138         $(srcdir)/m4/ltversion.m4       \
139         $(srcdir)/m4/lt~obsolete.m4     \
140         $(srcdir)/m4/nls.m4             \
141         $(srcdir)/m4/po.m4              \
142         $(srcdir)/m4/printf-posix.m4    \
143         $(srcdir)/m4/progtest.m4        \
144         $(srcdir)/m4/size_max.m4        \
145         $(srcdir)/m4/stdint_h.m4        \
146         $(srcdir)/m4/uintmax_t.m4       \
147         $(srcdir)/m4/visibility.m4      \
148         $(srcdir)/m4/wchar_t.m4         \
149         $(srcdir)/m4/wint_t.m4          \
150         $(srcdir)/m4/xsize.m4           \
151         $(srcdir)/po/Makefile.in.in~    \
152         $(srcdir)/po/Makevars.template  \
153         $(srcdir)/po/Rules-quot         \
154         $(srcdir)/po/boldquot.sed       \
155         $(srcdir)/po/en@boldquot.header \
156         $(srcdir)/po/en@quot.header     \
157         $(srcdir)/po/insert-header.sin  \
158         $(srcdir)/po/quot.sed           \
159         $(srcdir)/po/remove-potcdate.sin
161 # Scrollkeeper must be disabled for distcheck to work because
162 # distcheck uses a custom prefix.  See GNOME bug #354357.
163 DISTCHECK_CONFIGURE_FLAGS =             \
164         --disable-gtk3                  \
165         --enable-gtk-doc                \
166         --disable-scrollkeeper          \
167         --enable-test-component         \
168         --disable-image-inline          \
169         --disable-weather               \
170         --with-help
172 # Generate a ChangeLog file from 'git log'
173 dist-hook:
174         @if test -d "$(srcdir)/.git"; \
175         then \
176                 echo Creating ChangeLog && \
177                 ( cd "$(top_srcdir)" && \
178                   echo '# Generated by Makefile. Do not edit.'; echo; \
179                   $(top_srcdir)/missing --run git log --stat \
180                   EVOLUTION_2_30_0..) > ChangeLog.tmp \
181                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
182                 || ( rm -f ChangeLog.tmp ; \
183                      echo Failed to generate ChangeLog >&2 ); \
184         else \
185                 echo A git clone is required to generate a ChangeLog >&2; \
186         fi
188 -include $(top_srcdir)/git.mk