diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index b31975a72..ecbd4f932 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -8,10 +8,19 @@ SUBDIRS = ui art glade default_prefs_in_FILES = \ default-prefs-common.js \ default-prefs-mozilla.js \ - default-prefs-toolkit.js + default-prefs-toolkit.js \ + default-prefs-gecko-1-8.js -default-prefs.js: $(default_prefs_in_FILES) - cat $(srcdir)/default-prefs-common.js $(srcdir)/default-prefs-$(MOZILLA_FLAVOUR).js > $(top_builddir)/$(subdir)/default-prefs.js +default_prefs_files = \ + default-prefs-common.js \ + default-prefs-$(MOZILLA_FLAVOUR).js + +if HAVE_GECKO_1_8 +default_prefs_files += default-prefs-gecko-1-8.js +endif + +default-prefs.js: $(default_prefs_files) + (cd $(srcdir) && cat $(default_prefs_files) ) > $@ default_prefsdir = $(pkgdatadir) default_prefs_DATA = default-prefs.js |