aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/chrome/.cvsignore5
-rw-r--r--data/chrome/Makefile.am16
-rw-r--r--data/chrome/brand.dtd.in5
-rw-r--r--data/chrome/brand.properties.in3
-rw-r--r--data/chrome/epiphany.manifest.in2
6 files changed, 32 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index da5064239..d965591de 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = ui art glade
+SUBDIRS = art chrome glade ui
@INTLTOOL_SERVER_RULE@
@INTLTOOL_DESKTOP_RULE@
diff --git a/data/chrome/.cvsignore b/data/chrome/.cvsignore
new file mode 100644
index 000000000..81c7ee303
--- /dev/null
+++ b/data/chrome/.cvsignore
@@ -0,0 +1,5 @@
+Makefile
+Makefile.in
+*.manifest
+brand.dtd
+brand.properties
diff --git a/data/chrome/Makefile.am b/data/chrome/Makefile.am
new file mode 100644
index 000000000..155e8aa83
--- /dev/null
+++ b/data/chrome/Makefile.am
@@ -0,0 +1,16 @@
+manifestdir = $(pkgdatadir)/chrome
+manifest_in_files = epiphany.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=%)
+
+EXTRA_DIST = \
+ $(manifest_in_files) \
+ $(branding_in_files)
diff --git a/data/chrome/brand.dtd.in b/data/chrome/brand.dtd.in
new file mode 100644
index 000000000..de0a39edc
--- /dev/null
+++ b/data/chrome/brand.dtd.in
@@ -0,0 +1,5 @@
+<!ENTITY brandShortName "Epiphany">
+<!ENTITY brandFullName "Epiphany @VERSION@">
+<!ENTITY vendorShortName "GNOME">
+
+<!ENTITY releaseURL "http://www.gnome.org/projects/epiphany/">
diff --git a/data/chrome/brand.properties.in b/data/chrome/brand.properties.in
new file mode 100644
index 000000000..8a641ce08
--- /dev/null
+++ b/data/chrome/brand.properties.in
@@ -0,0 +1,3 @@
+brandShortName=Epiphany
+brandFullName=Epiphany @VERSION@
+vendorShortName=GNOME
diff --git a/data/chrome/epiphany.manifest.in b/data/chrome/epiphany.manifest.in
new file mode 100644
index 000000000..3f8eb3a2c
--- /dev/null
+++ b/data/chrome/epiphany.manifest.in
@@ -0,0 +1,2 @@
+override chrome://branding/locale/brand.properties file://@CHROMEDIR@/branding/brand.properties
+override chrome://branding/locale/brand.dtd file://@CHROMEDIR@/branding/brand.dtd