Fix Makefile install targets
authorSteven Luo <steven+maemo@steven676.net>
Mon, 22 Feb 2010 06:19:01 +0000 (22:19 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Mon, 22 Feb 2010 06:19:01 +0000 (22:19 -0800)
The overhaul of the Makefile targets broke the dependencies of the
install targets; fix this (along with a broken strip target in
config-ui/Makefile).

Makefile
config-ui/Makefile

index a5c6924..15c8199 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,11 +28,11 @@ dbus-server-glue.h:
 strip: $(APP)
        strip $(APP)
 
-install: all
+install: $(APP)
        mkdir -p $(DESTDIR)$(PREFIX)/bin
        mkdir -p $(DESTDIR)$(PREFIX)/share/dbus-1/services
        mkdir -p $(DESTDIR)$(PREFIX)/share/applications/hildon
-       install -c -m 0755 browser-switchboard $(DESTDIR)$(PREFIX)/bin
+       install -c -m 0755 $(APP) $(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
        install -c -m 0755 microb $(DESTDIR)$(PREFIX)/bin
index e5ec80b..d41444f 100644 (file)
@@ -57,11 +57,11 @@ $(PLUGIN): $(plugin_obj)
                -c -o $@ $<
 
 strip: strip-plugin
-strip-plugin: plugin
+strip-plugin: $(PLUGIN)
        strip $(PLUGIN)
 
 install: install-plugin
-install-plugin: plugin
+install-plugin: $(PLUGIN)
        mkdir -p $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
        mkdir -p $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
        install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/lib/hildon-control-panel