Distribute .in files too
[claws.git] / src / plugins / perl / Makefile.am
1 # Makefile.am for "src/plugins/perl" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 appdata_in_files = claws-mail-perl.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
8
9 @INTLTOOL_XML_RULE@
10
11 SUBDIRS = tools
12
13 plugindir = $(pkglibdir)/plugins
14
15 if BUILD_PERL_PLUGIN
16 plugin_LTLIBRARIES = perl.la
17 endif
18
19 perl_la_SOURCES = \
20         perl_plugin.c perl_plugin.h \
21         perl_gtk.c perl_gtk.h
22
23 perl_la_LDFLAGS = \
24         -avoid-version -module
25
26 perl_la_LIBADD = \
27         $(PERL_LDFLAGS) \
28         $(GTK_LIBS)
29
30 perl_la_CPPFLAGS = \
31         -I$(top_srcdir)/src \
32         -I$(top_srcdir)/src/common \
33         -I$(top_builddir)/src/common \
34         -I$(top_srcdir)/src/gtk \
35         $(GLIB_CFLAGS) \
36         $(GTK_CFLAGS) \
37         $(PERL_CFLAGS)
38
39 EXTRA_DIST = cm_perl.pod $(appdata_DATA) $(appdata_in_files)
40