File: Makefile.am

package info (click to toggle)
telepathy-logger 0.8.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,352 kB
  • sloc: ansic: 16,018; sh: 11,552; python: 2,960; makefile: 635; xml: 185
file content (50 lines) | stat: -rw-r--r-- 1,685 bytes parent folder | download | duplicates (3)
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
gsettings_files = \
	org.freedesktop.Telepathy.Logger.gschema.xml.in \
	$(NULL)
gsettings_SCHEMAS = $(gsettings_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@

servicefiledir = $(datadir)/dbus-1/services
servicefile_in_files = \
	org.freedesktop.Telepathy.Client.Logger.service.in	\
	org.freedesktop.Telepathy.Logger.service.in
servicefile_DATA = $(servicefile_in_files:.service.in=.service)
%.service: %.service.in Makefile
	$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

systemd_user_in_files = telepathy-logger.systemd.in
systemd_userdir = $(prefix)/lib/systemd/user
systemd_user_DATA = telepathy-logger.service
telepathy-logger.service: telepathy-logger.systemd.in Makefile
	$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

clientfiledir = $(datarootdir)/telepathy/clients

clientfile_parts = $(top_srcdir)/data/Logger.Observer.client.in \
	       	   $(top_srcdir)/data/Logger.Text.client.in \
		   $(top_srcdir)/data/Logger.Call.client.in \
		   $(top_srcdir)/data/Logger.Recover.client.in

clientfile_DATA = Logger.client

EXTRA_DIST = 				\
	$(gsettings_files)		\
	$(clientfile_DATA)		\
	$(servicefile_in_files)		\
	$(systemd_user_in_files)	\
	$(clientfile_parts)

CLEANFILES = \
	$(gsettings_SCHEMAS) \
	$(servicefile_DATA) \
	$(systemd_user_DATA) \
	$(clientfile_DATA)

# Generates Logger.client file
Logger.client: $(clientfile_parts)
	@cp $(top_srcdir)/data/Logger.Observer.client.in $(clientfile_DATA)
	@cat $(top_srcdir)/data/Logger.Text.client.in >> $(clientfile_DATA)
	@cat $(top_srcdir)/data/Logger.Call.client.in >> $(clientfile_DATA)
	$(AM_V_GEN)cat $(top_srcdir)/data/Logger.Recover.client.in >> $(clientfile_DATA)