]> www.fi.muni.cz Git - evince.git/blob - Makefile.am
44d5b5f058599ab8c6a0cec1b56ef986038b9bc0
[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 ACLOCAL_AMFLAGS = -I m4
54
55 DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --disable-shave
56
57 # Ignore scrollkeeper issues for now.  @#*$& scrollkeeper
58 distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/gnome/help/ | grep -v \.omf
59
60 distclean-local:
61         if test "$(srcdir)" = "."; then :; else \
62                 rm -f ChangeLog; \
63         fi
64
65 ChangeLog:
66         @echo Creating $@
67         @if test -d "$(srcdir)/.git"; then \
68           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log -M -C --name-status --date=short --no-color) | fmt --split-only > $@.tmp \
69           && mv -f $@.tmp $@ \
70           || ($(RM) $@.tmp; \
71               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
72               (test -f $@ || echo git log is required to generate this file >> $@)); \
73         else \
74           test -f $@ || \
75           (echo A git checkout and git log is required to generate ChangeLog >&2 && \
76           echo A git checkout and git log is required to generate this file >> $@); \
77         fi
78
79 .PHONY: ChangeLog