File: Makefile.am

package info (click to toggle)
revelation 0.5.4-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,184 kB
  • sloc: python: 6,243; xml: 244; makefile: 144; sh: 5
file content (64 lines) | stat: -rw-r--r-- 1,635 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
## Process this file with automake to produce Makefile.in
#
# data/Makefile.am
#
# $Id$
#

SUBDIRS	= icons

appdatadir = $(datadir)/metainfo
appdata_in_files = info.olasagasti.revelation.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)

$(appdata_DATA): $(appdata_in_files)
	$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

desktopdir 	 = $(datadir)/applications
desktop_in_files = info.olasagasti.revelation.desktop.in
desktop_DATA 	 = $(desktop_in_files:.desktop.in=.desktop)

info.olasagasti.revelation.desktop: $(desktop_in_files)
	$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

mimedir			= $(datadir)/mime/packages
dist_mime_DATA		= revelation.xml

gsettings_SCHEMAS = info.olasagasti.revelation.gschema.xml

gschemas.compiled: $(gsettings_SCHEMAS) Makefile
	$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) $(builddir)

@GSETTINGS_RULES@

gresourcedir   = $(pkgdatadir)
gresource_DATA	= revelation.gresource

revelation.gresource: revelation.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies $(srcdir)/revelation.gresource.xml)
	$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir=$(srcdir) --generate $<

CLEANFILES		= \
	$(appdata_DATA) \
	$(desktop_DATA) \
	gschemas.compiled \
	$(gresource_DATA)

EXTRA_DIST		= \
	$(appdata_in_files) \
	$(desktop_in_files) \
	$(gsettings_SCHEMAS) \
	revelation.gresource.xml \
	ui/help-overlay.ui \
	ui/menubar.ui \
	ui/popup-tree.ui

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

if HAVE_FDO_DESKTOP
	$(UPDATE_DESKTOP_DATABASE)
endif

all-local: gschemas.compiled