Configure: disable gtk+ deprecation warnings.
[gnumeric.git] / Makefile.am
blobbadcdc7eedeff06ce05afdeabd0c2ade9c1ac763
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  \
8         OChangeLog-2001-06-26
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
18 EXTRA_DIST = \
19         README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs)   \
20         COPYING-gpl2 COPYING-gpl3 \
21         gnumeric.appdata.xml.in \
22         gnumeric.desktop.in     \
23         gnumeric.keys.in        \
24         gnumeric.mime           \
25         gnumeric.spec           \
26         gnumeric.xsd            \
27         intltool-extract.in     \
28         intltool-merge.in       \
29         intltool-update.in      \
30         xmldocs.make            \
31         libspreadsheet.pc.in    \
32         omf.make
34 pkgconfigdir = $(libdir)/pkgconfig
35 pkgconfig_DATA = libspreadsheet-@GNUMERIC_API_VER@.pc
37 libspreadsheet-@GNUMERIC_API_VER@.pc: libspreadsheet.pc
38         cp $< $@
40 @INTLTOOL_DESKTOP_RULE@
41 @INTLTOOL_XML_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 >$@
58         rm -f $@.tmp $@.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
67 uninstall-local:
68         rm -f $(DESTDIR)$(configexecincludedir)/gnumeric-features.h
69 dist-hook:
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:
76 if WITH_PERL
77 # disable the check because the old perl plugin is hard to clean
78 distuninstallcheck:
79         @:
80 endif