~ubuntu-branches/ubuntu/natty/evince/natty

« back to all changes in this revision

Viewing changes to libview/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-08-17 14:09:13 UTC
  • mfrom: (1.1.61 upstream)
  • Revision ID: james.westby@ubuntu.com-20100817140913-bdnfcoup9o2672li
Tags: 2.31.6.1-0ubuntu1
* New upstream release
* debian/control
  - Build-depend on gnome-common and dh-autoreconf
  - Bump build-depends on libglib2.0-dev, libgtk2.0-dev, libpoppler-glib-dev
  - Add build-depend on libcairo2-dev
  - Drop build-depend on libdbus-glib-1-dev
* debian/evince.install:
  - Install gsettings schemas
* debian/rules:
  - Use autoreconf.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
NOINST_H_FILES =                        \
4
4
        ev-annotation-window.h          \
 
5
        ev-loading-window.h             \
5
6
        ev-page-cache.h                 \
6
7
        ev-pixbuf-cache.h               \
7
8
        ev-timeline.h                   \
11
12
        ev-view-marshal.h               \
12
13
        ev-view-private.h
13
14
 
14
 
INST_H_FILES =                          \
 
15
INST_H_SRC_FILES =                      \
15
16
        ev-document-model.h             \
16
17
        ev-jobs.h                       \
17
18
        ev-job-scheduler.h              \
18
19
        ev-print-operation.h            \
19
20
        ev-stock-icons.h                \
20
21
        ev-view.h                       \
21
 
        ev-view-presentation.h          \
 
22
        ev-view-presentation.h
 
23
 
 
24
INST_H_FILES =                          \
 
25
        $(INST_H_SRC_FILES)             \
22
26
        ev-view-type-builtins.h
23
27
 
24
28
headerdir = $(includedir)/evince/$(EV_API_VERSION)/libview
27
31
libevview_la_SOURCES =                  \
28
32
        ev-annotation-window.c          \
29
33
        ev-document-model.c             \
 
34
        ev-loading-window.c             \
30
35
        ev-jobs.c                       \
31
36
        ev-job-scheduler.c              \
32
37
        ev-page-cache.c                 \
45
50
        $(INST_H_FILES)
46
51
 
47
52
libevview_la_CPPFLAGS = \
48
 
        -DDATADIR=\"$(pkgdatadir)\"             \
 
53
        -DEVINCEDATADIR=\"$(pkgdatadir)\"       \
49
54
        -DG_LOG_DOMAIN=\"EvinceView\"           \
50
55
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
51
56
        -DEVINCE_COMPILATION                    \
76
81
        ev-view-type-builtins.c         \
77
82
        ev-view-type-builtins.h
78
83
 
79
 
CLEANFILES = $(BUILT_SOURCES) stamp-ev-view-type-builtins.h
 
84
CLEANFILES =                            \
 
85
        $(BUILT_SOURCES)                \
 
86
        stamp-ev-view-type-builtins.h   \
 
87
        stamp-ev-view-type-builtins.c
80
88
 
81
89
ev-view-marshal.h: $(srcdir)/ev-view-marshal.list
82
90
        $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@
87
95
 
88
96
ev-view-type-builtins.h: stamp-ev-view-type-builtins.h
89
97
        @true
90
 
 
91
 
stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template $(INST_H_FILES)
 
98
stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template $(INST_H_SRC_FILES)
92
99
        $(AM_V_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \
93
100
        && (cmp -s xgen-etbh ev-view-type-builtins.h || cp xgen-etbh ev-view-type-builtins.h ) \
94
101
        && rm -f xgen-etbh \
95
102
        && echo timestamp > $(@F)
96
103
 
97
 
ev-view-type-builtins.c: ev-view-type-builtins.c.template $(INST_H_FILES)
 
104
ev-view-type-builtins.c: stamp-ev-view-type-builtins.c
 
105
        @true
 
106
stamp-ev-view-type-builtins.c: ev-view-type-builtins.c.template $(INST_H_SRC_FILES)
98
107
        $(AM_V_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \
99
108
        && (cmp -s xgen-etbc ev-view-type-builtins.c || cp xgen-etbc ev-view-type-builtins.c ) \
100
 
        && rm -f xgen-etbc
 
109
        && rm -f xgen-etbc \
 
110
        && echo timestamp > $(@F)
101
111
 
102
112
EXTRA_DIST = \
103
113
        ev-view-type-builtins.c.template  \
108
118
 
109
119
if ENABLE_INTROSPECTION
110
120
 
111
 
EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES)
 
121
EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter %.c,$(libevview_la_SOURCES))
112
122
        $(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \
113
123
        $(G_IR_SCANNER) -v --namespace EvinceView \
114
124
        --add-include-path=$(top_builddir)/libdocument \
129
139
        -I$(top_srcdir) \
130
140
        -I$(top_builddir) \
131
141
        -DEVINCE_COMPILATION \
132
 
        $(filter %.h,$^)
 
142
        $(filter %.h,$^) \
 
143
        $(filter %.c,$^)
133
144
 
134
145
girdir = $(GIRDIR)
135
146
gir_DATA = EvinceView-$(EV_API_VERSION).gir