spec: remove pkg_initdb in post script
[profile/ivi/rygel.git] / data / Makefile.am
1 include $(top_srcdir)/common.am
2
3 SUBDIRS = xml icons
4
5 sysconf_DATA = rygel.conf
6
7 if BUILD_UI
8 dist_shared_DATA = rygel-preferences.ui
9 endif
10
11 # DBus service file
12 dbusservicedir = $(datadir)/dbus-1/services
13 dbusservice_in_files = org.gnome.Rygel1.service.in
14 dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)
15
16 # Rule to make the service file with bindir expanded
17 $(dbusservice_DATA): $(dbusservice_in_files) Makefile
18         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
19
20 # Rule to create the .desktop files
21 desktop_in_files = rygel.desktop.in rygel-preferences.desktop.in
22 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
23 @INTLTOOL_DESKTOP_RULE@
24
25 preset_DATA = $(srcdir)/presets/avenc_aac.prs \
26         $(srcdir)/presets/avenc_mp2.prs \
27         $(srcdir)/presets/avenc_mpeg2video.prs \
28         $(srcdir)/presets/avenc_wmav1.prs \
29         $(srcdir)/presets/avenc_wmv1.prs \
30         $(srcdir)/presets/GstFaac.prs \
31         $(srcdir)/presets/GstLameMP3Enc.prs \
32         $(srcdir)/presets/GstMP4Mux.prs \
33         $(srcdir)/presets/GstTwoLame.prs \
34         $(srcdir)/presets/GstX264Enc.prs
35
36 CLEANFILES = $(dbusservice_DATA) $(desktop_DATA)
37 EXTRA_DIST = $(dbusservice_in_files) \
38              $(desktop_in_files) \
39              $(sysconf_DATA) \
40              $(pixmaps_DATA) \
41              $(preset_DATA)
42