summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-17 15:25:02 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-17 15:25:02 +0000
commita2f613f8e2e6e53ae0fd02485446481cbc9383f6 (patch)
tree6c5f5da7812fc430bd08491acd915f3099f595f1
parentdaf7a52dd67e7ac2149dba337cc156c9ba308987 (diff)
downloadnetsurf-a2f613f8e2e6e53ae0fd02485446481cbc9383f6.tar.gz
netsurf-a2f613f8e2e6e53ae0fd02485446481cbc9383f6.tar.bz2
BeOS/Haiku installation target (credit: Matt Madia)
svn path=/trunk/netsurf/; revision=7118
-rw-r--r--Makefile16
-rw-r--r--Makefile.defaults9
2 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85d33fcf1..526948a2b 100644
--- a/Makefile
+++ b/Makefile
@@ -804,6 +804,22 @@ install-gtk: nsgtk
gzip -9v < gtk/res/options.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)options.glade
gzip -9v < gtk/res/history.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)history.glade
+install-beos: NetSurf
+ # TODO:HAIKU -- not sure if throbber is needed. being left out for now.
+ mkdir -p $(DESTDIR)$(NETSURF_BEOS_BIN)
+ mkdir -p $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+# mkdir -p $(DESTDIR)$(NETSURF_BEOS_RESOURCES)throbber
+ @copyattr -d NetSurf $(DESTDIR)$(NETSURF_BEOS_BIN)NetSurf
+ @cp -vRL beos/res/adblock.css $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+ @cp -vRL beos/res/ca-bundle.txt $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+ @cp -vRL beos/res/default.css $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+ @cp -vRL beos/res/Aliases $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+ @cp -vRL beos/res/beosdefault.css $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+ @cp -vRL gtk/res/license $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
+# @cp -vRL beos/res/throbber/*.png $(DESTDIR)$(NETSURF_BEOS_RESOURCES)throbber
+ gzip -9v < beos/res/messages > $(DESTDIR)$(NETSURF_BEOS_RESOURCES)messages
+
+
install: all-program install-$(TARGET)
docs:
diff --git a/Makefile.defaults b/Makefile.defaults
index e3dffc5e8..2a1050096 100644
--- a/Makefile.defaults
+++ b/Makefile.defaults
@@ -139,6 +139,15 @@ endif
# ----------------------------------------------------------------------------
ifeq ($(TARGET),beos)
+
+ # Where to install the netsurf binary
+ NETSURF_BEOS_BIN := /boot/apps/netsurf/
+
+ # TODO:HAIKU -- not sure if ~/.netsurf applies in beos
+ # Where to search for NetSurf's resources after looking in ~/.netsurf and
+ # $NETSURFRES. It must have a trailing /
+ NETSURF_BEOS_RESOURCES := /boot/apps/netsurf/res/
+
# Enable NetSurf's use of librosprite for displaying RISC OS Sprites
# Valid options: YES, NO, AUTO
NETSURF_USE_ROSPRITE := AUTO