1 SUBDIRS = . po po-functions src plugins icons @COMPONENT_DIR@ templates doc tools schemas test introspection
3 XML_I18N_XML_KIND = --pass-through
5 # We used to distribute old ChangeLog files too.
6 change_logs = ChangeLog
8 CLEANFILES = gnumeric.desktop gnumeric.keys gnumeric.appdata.xml
9 DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA)
11 DISTCHECK_CONFIGURE_FLAGS = --without-perl --without-python \
12 --enable-introspection=auto \
13 --with-gir-dir=\$${datadir}/gir-1.0 \
14 --with-typelib-dir=\$${libdir}/girepository-1.0 \
15 --with-gi-overrides-dir=\$${libdir}/gi/overrides
17 DIST_SAMPLES = $(shell (cd $(srcdir)/test && perl -e 'use GnumericTest; foreach (&GnumericTest::corpus("dist")) { print "$$_\n"; }'))
20 README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs) \
21 COPYING COPYING-gpl2 COPYING-gpl3 \
22 gnumeric.appdata.xml.in \
32 libspreadsheet.pc.in \
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = libspreadsheet-@GNUMERIC_API_VER@.pc
39 libspreadsheet-@GNUMERIC_API_VER@.pc: libspreadsheet.pc
42 @INTLTOOL_DESKTOP_RULE@
45 appdatadir = $(datadir)/appdata
46 appdata_in_files = gnumeric.appdata.xml.in
47 appdata_DATA = gnumeric.appdata.xml
49 gnumeric.appdata.xml: gnumeric.appdata.xml.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
50 LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
52 Applicationsdir = $(datadir)/applications/
53 Applications_in_files = gnumeric.desktop.in
54 Applications_DATA = gnumeric.desktop
56 gnumeric.desktop: gnumeric.desktop.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
57 LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
58 sed -e 's/F_OR_U/U/' <$@.tmp >$@.tmp2
59 sed -e 's/BUGZILLAVERSION/@VERSION@/' <$@.tmp2 >$@
62 configexecincludedir = $(includedir)/libspreadsheet-@GNUMERIC_API_VER@/spreadsheet
63 install-exec-local: gnumeric-features.h
64 $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
65 file=$(DESTDIR)$(configexecincludedir)/$< ; \
66 if test -r $$file && cmp -s $< $$file; then :; \
67 else $(INSTALL_DATA) $< $$file; fi
70 rm -f $(DESTDIR)$(configexecincludedir)/gnumeric-features.h
72 ## If I understand this correctly, this hack is needed only --with-perl:
74 # disable the check because the old perl plugin is hard to clean