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
11 DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA) doltcompile doltlibtool
13 DISTCHECK_CONFIGURE_FLAGS=--without-perl --without-python
16 README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs) \
27 libspreadsheet.pc.in \
30 pkgconfigdir = $(libdir)/pkgconfig
31 pkgconfig_DATA = libspreadsheet-@GNUMERIC_API_VER@.pc
33 libspreadsheet-@GNUMERIC_API_VER@.pc: libspreadsheet.pc
36 @INTLTOOL_DESKTOP_RULE@
38 Applicationsdir = $(datadir)/applications/
39 Applications_in_files = gnumeric.desktop.in
40 Applications_DATA = gnumeric.desktop
42 gnumeric.desktop: gnumeric.desktop.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
43 LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
44 sed -e 's/F_OR_U/U/' <$@.tmp >$@.tmp2
45 sed -e 's/BUGZILLAVERSION/@VERSION@/' <$@.tmp2 >$@
48 configexecincludedir = $(includedir)/libspreadsheet-@GNUMERIC_API_VER@/spreadsheet
49 install-exec-local: gnumeric-features.h
50 $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
51 file=$(DESTDIR)$(configexecincludedir)/$< ; \
52 if test -r $$file && cmp -s $< $$file; then :; \
53 else $(INSTALL_DATA) $< $$file; fi
56 rm -f $(DESTDIR)$(configexecincludedir)/gnumeric-features.h
58 mkdir $(distdir)/samples
59 cp $(srcdir)/samples/*gnumeric $(distdir)/samples
61 ## It seems the following overrides can be simplified:
62 ## distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' | grep -v '^\./doc'
63 ## distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | grep -v 'omf' | grep -v 'figures'
65 # xmldocs.make is screwed:
66 distcleancheck_listfiles = \
67 find . -type f -print -o -path ./doc -prune
69 # We are not able to uninstall the scrollkeeper files:
70 distuninstallcheck_listfiles = \
71 find . -type f -print -o -path */var/scrollkeeper -prune
73 ## If I understand this correctly, this hack is needed only --with-perl:
75 # disable the check because the old perl plugin is hard to clean