aboutsummaryrefslogtreecommitdiffstats
path: root/data/chrome/Makefile.am
blob: 04c575340b96d0a1af8bf8f62595668a8e0d8a8a (plain) (blame)
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
manifestdir = $(pkgdatadir)/chrome
manifest_in_files = app-chrome.manifest.in
manifest_DATA = $(manifest_in_files:.manifest.in=.manifest)

%.manifest: %.manifest.in
    @sed -e "s!@CHROMEDIR@!$(pkgdatadir)/chrome!g" $< > $@

brandingdir = $(manifestdir)/branding
branding_in_files = \
    brand.dtd.in        \
    brand.properties.in
branding_DATA = $(branding_in_files:%.in=%)

globalchromedir = $(manifestdir)/global
globalchrome_DATA = about.xhtml

if HAVE_GECKO_1_9
globalchrome_DATA += netError.dtd
endif

EXTRA_DIST = \
    $(manifest_in_files)    \
    $(branding_in_files)    \
    $(globalchrome_DATA)

CLEANFILES = \
    $(manifest_DATA)

DISTCLEANFILES = \
    $(manifest_DATA)    \
    $(branding_DATA)