1 SUBDIRS = . po po-functions src plugins icons @COMPONENT_DIR@ templates doc tools schemas test
3 XML_I18N_XML_KIND = --pass-through
5 change_logs = ChangeLog \
6 OChangeLog-1999-07-09 \
7 OChangeLog-2000-02-23 OChangeLog-2000-10-10 \
10 CLEANFILES = gnumeric.desktop gnumeric.keys gnumeric.appdata.xml
11 DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA)
13 DISTCHECK_CONFIGURE_FLAGS = --without-perl --without-python \
14 --enable-introspection=auto \
15 --with-gir-dir=\$${datadir}/gir-1.0 \
16 --with-typelib-dir=\$${libdir}/girepository-1.0
19 README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs) \
20 COPYING-gpl2 COPYING-gpl3 \
21 gnumeric.appdata.xml.in \
31 libspreadsheet.pc.in \
34 pkgconfigdir = $(libdir)/pkgconfig
35 pkgconfig_DATA = libspreadsheet-@GNUMERIC_API_VER@.pc
37 libspreadsheet-@GNUMERIC_API_VER@.pc: libspreadsheet.pc
40 @INTLTOOL_DESKTOP_RULE@
43 appdatadir = $(datadir)/appdata
44 appdata_in_files = gnumeric.appdata.xml.in
45 appdata_DATA = gnumeric.appdata.xml
47 gnumeric.appdata.xml: gnumeric.appdata.xml.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
48 LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
50 Applicationsdir = $(datadir)/applications/
51 Applications_in_files = gnumeric.desktop.in
52 Applications_DATA = gnumeric.desktop
54 gnumeric.desktop: gnumeric.desktop.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
55 LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
56 sed -e 's/F_OR_U/U/' <$@.tmp >$@.tmp2
57 sed -e 's/BUGZILLAVERSION/@VERSION@/' <$@.tmp2 >$@
60 configexecincludedir = $(includedir)/libspreadsheet-@GNUMERIC_API_VER@/spreadsheet
61 install-exec-local: gnumeric-features.h
62 $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
63 file=$(DESTDIR)$(configexecincludedir)/$< ; \
64 if test -r $$file && cmp -s $< $$file; then :; \
65 else $(INSTALL_DATA) $< $$file; fi
68 rm -f $(DESTDIR)$(configexecincludedir)/gnumeric-features.h
70 mkdir $(distdir)/samples
71 cp $(srcdir)/samples/*.gnumeric $(distdir)/samples/.
72 mkdir $(distdir)/samples/excel
73 cp $(srcdir)/samples/excel/*.xls $(distdir)/samples/excel/.
75 ## If I understand this correctly, this hack is needed only --with-perl:
77 # disable the check because the old perl plugin is hard to clean