summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 8c84cc4365cffdd82b78586c4638be0f9b7229df (plain)
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
SUBDIRS = \
	audio-profiles \
	desktop-files \
	icon-theme-hicolor

dbusservice_in_files = \
	org.bansheeproject.Banshee.service.in \
	org.bansheeproject.CollectionIndexer.service.in
dbusservicedir = $(datadir)/dbus-1/services
dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)

# Generate a fake source file containing strings for
# translation that are found in our .addin.xml files
ADDIN_XML_FILES = $(shell find $(top_srcdir)/src -name \*.addin.xml | grep -v /obj/)
addin-xml-strings.cs: $(ADDIN_XML_FILES) $(top_srcdir)/build/addin-xml-string-extractor.exe
	@echo "  GEN   $@"
	$(MONO) $(top_srcdir)/build/addin-xml-string-extractor.exe $(ADDIN_XML_FILES) > $@

all: addin-xml-strings.cs

EXTRA_DIST = \
	$(dbusservice_in_files) \
	addin-xml-strings.cs

DISTCLEANFILES = \
	$(dbusservice_DATA)

MAINTAINERCLEANFILES = \
	Makefile.in