~xavi-garcia-mena/indicator-sound/check-mpris-properties

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Conor Curran
  • Date: 2010-01-27 13:21:02 UTC
  • Revision ID: conor.curran@canonical.com-20100127132102-xc5w5ob5kei1iblb
copied contents from lp:~cjcurran/wasilla/soundmenu without the noise

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
dbus_servicesdir = $(DBUSSERVICEDIR)
 
3
service_in_files =  indicator-sound.service.in 
 
4
dbus_services_DATA = $(service_in_files:.service.in=.service)
 
5
 
 
6
%.service: %.service.in
 
7
        sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
 
8
 
 
9
##############################
 
10
# GConf Schema
 
11
##############################
 
12
 
 
13
schemadir =                                     \
 
14
        $(GCONF_SCHEMA_FILE_DIR)
 
15
 
 
16
schema_in_files =                               \
 
17
        indicator-sound.schemas.in
 
18
 
 
19
schema_DATA =                                   \
 
20
        $(schema_in_files:.schemas.in=.schemas)
 
21
 
 
22
@INTLTOOL_SCHEMAS_RULE@
 
23
 
 
24
 
 
25
#$(dbus_services_DATA): $(service_in_files) Makefile
 
26
#       sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
 
27
 
 
28
EXTRA_DIST =                                    \
 
29
        $(service_in_files)                     \
 
30
        $(schema_in_files)
 
31
 
 
32
CLEANFILES =                                    \
 
33
        $(dbus_services_DATA)                   \
 
34
        $(schema_DATA)
 
35
 
 
36
if GCONF_SCHEMAS_INSTALL
 
37
install-data-local:
 
38
        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
 
39
                gconftool-2 --makefile-install-rule $(schema_DATA)
 
40
else
 
41
install-data-local:
 
42
endif