File: Makefile.am

package info (click to toggle)
bijiben 3.20.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,588 kB
  • sloc: ansic: 21,624; sh: 4,094; makefile: 647; xml: 114
file content (81 lines) | stat: -rw-r--r-- 1,916 bytes parent folder | download
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

SUBDIRS = icons

@APPSTREAM_XML_RULES@

xml_in_files = org.gnome.bijiben.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)

app_data_in_files = org.gnome.bijiben.appdata.xml.in
app_data_files = $(app_data_in_files:.xml.in=.xml)

appstream_XML = $(app_data_files)

check-local: org.gnome.bijiben.desktop
	$(DESKTOP_FILE_VALIDATE) org.gnome.bijiben.desktop



@INTLTOOL_XML_RULE@

@INTLTOOL_DESKTOP_RULE@

desktop_in_files = org.gnome.bijiben.desktop.in
desktop_files    = $(desktop_in_files:.desktop.in=.desktop)

desktopdir   = $(datadir)/applications
desktop_DATA = $(desktop_files)

appdatadir = $(datadir)/appdata
appdata_DATA = $(app_data_files)


servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
service_in_files = 				\
	org.gnome.bijiben.SearchProvider.service.in

mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)

org.gnome.bijiben.SearchProvider.service: org.gnome.bijiben.SearchProvider.service.in Makefile
	$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

searchproviderdir = $(datadir)/gnome-shell/search-providers
searchprovider_DATA = org.gnome.bijiben-search-provider.ini

css_files = Default.css

cssdir = $(pkgdatadir)
css_DATA = $(css_files)

gsettings_SCHEMAS = org.gnome.bijiben.gschema.xml
@GSETTINGS_RULES@

EXTRA_DIST =                            \
	$(desktop_in_files)     	\
	$(css_files)			\
	$(gsettings_SCHEMAS) \
	shell-search-provider-dbus-interfaces.xml \
	$(service_in_files)		\
	$(searchprovider_DATA) \
	$(xml_in_files) \
	$(app_data_in_files)

DISTCLEANFILES =                        \
	$(desktop_files)                \
	$(service_DATA)   \
	$(xml_files) \
	$(app_data_files)

install-data-hook:
if ENABLE_UPDATE_MIMEDB
	$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif

uninstall-hook:
if ENABLE_UPDATE_MIMEDB
	$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif

-include $(top_srcdir)/git.mk