Try legacy config file location if config file not found
[browser-switch] / Makefile
index e6199a8..8974eb2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CC = gcc
 CFLAGS = -Wall -Os -mcpu=arm1136jf-s -mthumb
-CPPFLAGS = -Wall `pkg-config --cflags dbus-glib-1`
+CPPFLAGS = `pkg-config --cflags dbus-glib-1`
 LDFLAGS = `pkg-config --libs dbus-glib-1`
 PREFIX = /usr/local
 
@@ -22,6 +22,8 @@ strip: $(APP)
 install: all
        mkdir -p $(DESTDIR)$(PREFIX)/bin
        install -c -m 0755 browser-switchboard $(DESTDIR)$(PREFIX)/bin
+       install -c -m 0644 com.nokia.osso_browser.service $(DESTDIR)$(PREFIX)/share/dbus-1/services
+       install -c -m 0755 browser $(DESTDIR)$(PREFIX)/bin
 
 clean:
        rm -f $(APP) *.o dbus-server-glue.h