File: Makefile.am

package info (click to toggle)
rygel 0.36.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 40,656 kB
  • sloc: ansic: 237,502; sh: 4,986; xml: 1,706; makefile: 1,203; sed: 16
file content (57 lines) | stat: -rw-r--r-- 1,826 bytes parent folder | download | duplicates (2)
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
include $(top_srcdir)/common.am

SUBDIRS = xml icons

sysconf_DATA = rygel.conf

if BUILD_UI
dist_shared_DATA = rygel-preferences.ui
endif

# DBus service file
dbusservicedir = $(datadir)/dbus-1/services
dbusservice_in_files = org.gnome.Rygel1.service.in
dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)

# Rule to make the service file with bindir expanded
$(dbusservice_DATA): $(dbusservice_in_files) Makefile
	@sed -e "s|\@bindir\@|$(bindir)|" $< > $@

# systemd service file
systemdservicedir = $(systemduserunitdir)
systemdservice_in_files = rygel.service.in
systemdservice_DATA = rygel.service

# Rule to make the systemd service file with bindir expanded
$(systemdservice_DATA): rygel.service.in Makefile
	$(AM_V_GEN) $(SED) -e "s|\@bindir\@|$(bindir)|" $< > $@

# Rule to create the .desktop files
desktop_in_files = $(srcdir)/rygel.desktop.in $(srcdir)/rygel-preferences.desktop.in
desktop_DATA = rygel.desktop rygel-preferences.desktop

%.desktop.in : %.desktop.in.in
	$(AM_V_GEN) sed -e 's|@VERSION[@]|$(VERSION)|g' $< > $@

%.desktop : %.desktop.in
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

preset_DATA = $(srcdir)/presets/avenc_aac.prs \
	$(srcdir)/presets/avenc_mp2.prs \
	$(srcdir)/presets/avenc_mpeg2video.prs \
	$(srcdir)/presets/avenc_wmav1.prs \
	$(srcdir)/presets/avenc_wmv1.prs \
	$(srcdir)/presets/GstFaac.prs \
	$(srcdir)/presets/GstLameMP3Enc.prs \
	$(srcdir)/presets/GstMP4Mux.prs \
	$(srcdir)/presets/GstTwoLame.prs \
	$(srcdir)/presets/GstX264Enc.prs

CLEANFILES = $(dbusservice_DATA) $(desktop_DATA) $(systemdservice_DATA)
EXTRA_DIST = $(dbusservice_in_files) \
	     $(desktop_in_files) \
		 rygel.desktop.in.in rygel-preferences.desktop.in.in \
	     $(sysconf_DATA) \
	     $(pixmaps_DATA) \
	     $(preset_DATA) \
	     $(systemdservice_in_files)