File: Makefile.am

package info (click to toggle)
gnumeric 1.12.57-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 111,496 kB
  • sloc: ansic: 296,601; xml: 56,363; perl: 6,615; sh: 5,288; makefile: 2,981; yacc: 1,341; python: 389
file content (25 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AM_CPPFLAGS = \
    -DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
    -I$(top_srcdir)/src	-I$(top_builddir)/src	\
    $(GNUMERIC_CFLAGS)

gnumeric_plugin_fnrdir = $(gnumeric_plugindir)/fn-r
xmldir = $(gnumeric_plugin_fnrdir)
gnumeric_plugin_fnr_LTLIBRARIES = rstat.la
rstat_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
rstat_la_SOURCES = functions.c extra.c extra.h

xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

pofiles = $(wildcard $(top_srcdir)/po/*.po) $(wildcard $(top_srcdir)/po-functions/*.po)

plugin.xml: plugin.xml.in $(pofiles)
	LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
	@PERL@ -pi -e "s/VERSION/${VERSION}/" $@.tmp
	mv $@.tmp $@

@INTLTOOL_XML_RULE@

EXTRA_DIST = $(xml_in_files)
CLEANFILES = $(xml_DATA)