From a2f613f8e2e6e53ae0fd02485446481cbc9383f6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 17 Apr 2009 15:25:02 +0000 Subject: BeOS/Haiku installation target (credit: Matt Madia) svn path=/trunk/netsurf/; revision=7118 --- Makefile | 16 ++++++++++++++++ Makefile.defaults | 9 +++++++++ 2 files changed, 25 insertions(+) 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 -- cgit v1.2.3