blob: 22c08ed4edfd7083d5019f6ca2e38f725e85aac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = libyelp libyelp/web-extension po data docs
bin_PROGRAMS = yelp
yelp_SOURCES = \
src/yelp-application.c \
src/yelp-window.c \
src/yelp.c
yelp_headers = \
src/yelp-application.h \
src/yelp-window.h
YELP_DEFINES = \
-DG_LOG_DOMAIN=\"Yelp\" \
-DDATADIR=\""$(datadir)"\" \
-DLOCALEDIR=\""$(localedir)"\"
yelp_CFLAGS = \
$(YELP_CFLAGS) \
$(WARN_CFLAGS)
yelp_CPPFLAGS = \
-I$(top_srcdir)/libyelp \
$(YELP_DEFINES)
yelp_LDADD = \
$(top_builddir)/libyelp/libyelp.la \
$(top_builddir)/libyelp/libyelpcommon.la \
$(YELP_LIBS)
yelp_LDFLAGS = $(WARN_LDFLAGS)
install-exec-hook:
rm -f $(DESTDIR)$(bindir)/gnome-help && \
$(LN_S) yelp $(DESTDIR)$(bindir)/gnome-help
YELP_COMMON_CFLAGS = \
$(YELP_CFLAGS) \
$(WARN_CFLAGS) \
$(YELP_DEFINES) \
-I$(top_srcdir)/libyelp
YELP_COMMON_LDADD = \
$(YELP_LIBS) \
$(WARN_LDFLAGS)
check_PROGRAMS = \
tests/test-magic \
tests/test-settings \
tests/test-transform \
tests/test-uri \
tests/test-view
if ENABLE_LZMA
check_PROGRAMS += tests/test-lzma
tests_test_lzma_libyelp_sources = $(top_srcdir)/libyelp/yelp-lzma-decompressor.c
tests_test_lzma_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_lzma_LDADD = $(YELP_COMMON_LDADD)
tests_test_lzma_SOURCES = tests/test-lzma.c $(tests_test_lzma_libyelp_sources)
endif
if ENABLE_BZ2
check_PROGRAMS += tests/test-bz2
tests_test_bz2_libyelp_sources = libyelp/yelp-bz2-decompressor.c
tests_test_bz2_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_bz2_LDADD = $(YELP_COMMON_LDADD)
tests_test_bz2_SOURCES = tests/test-bz2.c $(tests_test_bz2_libyelp_sources)
endif
tests_test_magic_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_magic_LDADD = $(YELP_COMMON_LDADD)
tests_test_magic_SOURCES = tests/test-magic.c \
$(tests_test_bz2_libyelp_sources) \
$(tests_test_lzma_libyelp_sources) \
libyelp/yelp-magic-decompressor.c
tests_test_settings_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_settings_LDADD = \
$(YELP_COMMON_LDADD) \
$(top_builddir)/libyelp/libyelp.la
tests_test_transform_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_transform_LDADD = \
$(YELP_COMMON_LDADD) \
$(top_builddir)/libyelp/libyelp.la
tests_test_uri_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_uri_LDADD = \
$(YELP_COMMON_LDADD) \
$(top_builddir)/libyelp/libyelp.la
tests_test_view_CFLAGS = $(YELP_COMMON_CFLAGS)
tests_test_view_LDADD = \
$(YELP_COMMON_LDADD) \
$(top_builddir)/libyelp/libyelp.la
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files=yelp.desktop.in.in
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
@INTLTOOL_SCHEMAS_RULE@
gsettings_SCHEMAS = data/org.gnome.yelp.gschema.xml
@GSETTINGS_RULES@
16icondir = $(pkgdatadir)/icons/hicolor/16x16/status
scalableicondir = $(pkgdatadir)/icons/hicolor/scalable/status
dist_16icon_DATA = \
data/icons/hicolor/16x16/status/bookmark.png \
data/icons/hicolor/16x16/status/yelp-page-task.png \
data/icons/hicolor/16x16/status/yelp-page-tip.png \
data/icons/hicolor/16x16/status/yelp-page-ui.png \
data/icons/hicolor/16x16/status/yelp-page-video.png
dist_scalableicon_DATA = \
data/icons/hicolor/scalable/status/yelp-page-problem-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-search-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-task-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-tip-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-ui-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-video-symbolic.svg \
data/icons/hicolor/scalable/status/yelp-page-symbolic.svg
dist_noinst_DATA = \
$(desktop_in_files) \
$(gsettings_SCHEMAS) \
$(yelp_headers)
dist_noinst_SCRIPTS = \
autogen.sh
CLEANFILES = $(desktop_DATA)
DISTCHECK_CONFIGURE_FLAGS = \
--enable-bz2 \
--enable-gtk-doc \
--enable-lzma
|