]> www.fi.muni.cz Git - evince.git/blob - Makefile.am
64b26a3b2a664d611100ec93a649bd558f8cc92a
[evince.git] / Makefile.am
1 SUBDIRS = \
2         cut-n-paste \
3         data \
4         libdocument \
5         backend \
6         libview \
7         libmisc \
8         properties \
9         shell \
10         po \
11         help \
12         test
13
14 if ENABLE_THUMBNAILER
15 SUBDIRS += thumbnailer
16 endif
17
18 if ENABLE_PREVIEWER
19 SUBDIRS += previewer
20 endif
21
22 NULL =
23
24 pkgconfigdir = $(libdir)/pkgconfig
25 pkgconfig_DATA = \
26         evince-document-$(EV_API_VERSION).pc \
27         evince-view-$(EV_API_VERSION).pc \
28         $(NULL)
29
30 headerdir = $(includedir)/evince/$(EV_API_VERSION)
31 header_DATA = \
32         evince-document.h \
33         evince-view.h \
34         $(NULL)
35
36 # Applications 
37
38 intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
39
40 EXTRA_DIST = \
41         $(intltool_extra) \
42         $(header_DATA) \
43         autogen.sh \
44         gnome-doc-utils.make \
45         MAINTAINERS
46
47 DISTCLEANFILES =                \
48         gnome-doc-utils.make    \
49         intltool-extract        \
50         intltool-merge          \
51         intltool-update
52
53 DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --disable-shave
54
55 # Ignore scrollkeeper issues for now.  @#*$& scrollkeeper
56 distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/gnome/help/ | grep -v \.omf
57
58 distclean-local:
59         if test "$(srcdir)" = "."; then :; else \
60                 rm -f ChangeLog; \
61         fi
62
63 ChangeLog:
64         @echo Creating $@
65         @if test -d "$(srcdir)/.git"; then \
66           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log -M -C --name-status --date=short --no-color) | fmt --split-only > $@.tmp \
67           && mv -f $@.tmp $@ \
68           || ($(RM) $@.tmp; \
69               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
70               (test -f $@ || echo git log is required to generate this file >> $@)); \
71         else \
72           test -f $@ || \
73           (echo A git checkout and git log is required to generate ChangeLog >&2 && \
74           echo A git checkout and git log is required to generate this file >> $@); \
75         fi
76
77 .PHONY: ChangeLog