Updated Czech translation
[gnumeric.git] / plugins / fn-numtheory / Makefile.am
blob36a4f8231ebc0c081c06fc10954896c59ec4355c
1 AM_CPPFLAGS = \
2     -DGNOMELOCALEDIR=\""$(datadir)/locale"\"    \
3     -I$(top_srcdir)/src -I$(top_builddir)/src   \
4     $(GNUMERIC_CFLAGS)
6 gnumeric_plugin_numtheorydir = $(gnumeric_plugindir)/fn-numtheory
7 xmldir = $(gnumeric_plugin_numtheorydir)
8 gnumeric_plugin_numtheory_LTLIBRARIES = plugin.la
9 plugin_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
10 plugin_la_SOURCES = numtheory.c
12 xml_in_files = plugin.xml.in
13 xml_DATA = $(xml_in_files:.xml.in=.xml)
15 pofiles = $(wildcard $(top_srcdir)/po/*.po) $(wildcard $(top_srcdir)/po-functions/*.po)
17 plugin.xml: plugin.xml.in $(pofiles)
18         LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
19         @PERL@ -pi -e "s/VERSION/${VERSION}/" $@.tmp
20         mv $@.tmp $@
22 @INTLTOOL_XML_RULE@
24 EXTRA_DIST = $(xml_in_files)
25 CLEANFILES = $(xml_DATA)