summaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-07-29 15:10:31 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-07-29 15:10:31 +0000
commit9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab (patch)
tree8b4611bbb000ea61d6ea7e063150def55bc9fd12 /Makefile.config
parent806d362674da02f2e9e6f1a992df7c43aff77cd8 (diff)
downloadnetsurf-9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab.tar.gz
netsurf-9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab.tar.bz2
Make user agent string and default homepage configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4803
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config
index c9e31aee5..a307ff9d0 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -37,6 +37,16 @@ endif
# Valid options: YES, NO
NETSURF_STRIP_BINARY := NO
+# Template used for constructing the User Agent: string. The first two
+# replacements are major/minor version, second two are OS and architecture.
+# Please don't be tempted to mention Mozilla here! Let's let that lie die.
+NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s)"
+
+# Default home page if one is not defined. Note that this does not apply to
+# the RISC OS version, as it has its own local home page, and it can be changed
+# by editing the end of gui_init2() in riscos/gui.c
+NETSURF_HOMEPAGE := "http://www.netsurf-browser.org/welcome/"
+
# ----------------------------------------------------------------------------
# RISC OS-specific options
# ----------------------------------------------------------------------------