X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=config-ui%2FMakefile;h=8e174d00a5abd8ac7a21a32709a3baf70088f8d5;hp=74c894d53a9df96b0018fd4a8d42b9247be8fddd;hb=b2fbe4a592f64cb4bc0c357260f5cb8e5ea4f013;hpb=dc5c27558cf873bfce31c51f8c22f18e2f80eeba diff --git a/config-ui/Makefile b/config-ui/Makefile index 74c894d..8e174d0 100644 --- a/config-ui/Makefile +++ b/config-ui/Makefile @@ -9,7 +9,7 @@ LDFLAGS = `pkg-config --libs gtk+-2.0` LDFLAGS_HILDON = `pkg-config --libs hildon-1` LDFLAGS_PLUGIN = -shared $(LDFLAGS_HILDON) \ `pkg-config --libs dbus-1` `pkg-config --libs hildon-control-panel` -PREFIX = /usr/local +PREFIX = /usr other_obj = ../configfile.o @@ -46,10 +46,12 @@ $(PLUGIN): $(plugin_obj) $(CC) $(CFLAGS) $(CFLAGS_PLUGIN) $(CPPFLAGS) $(CPPFLAGS_PLUGIN) \ -c -o $@ $< -strip: $(PLUGIN) +strip: strip-plugin +strip-plugin: plugin strip $(PLUGIN) -install: all +install: install-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 @@ -58,4 +60,4 @@ install: all clean: rm -f $(APP) $(HILDON_APP) $(PLUGIN) *.o ../configfile.o -.PHONY: strip install plugin app hildon-app +.PHONY: strip strip-plugin install install-plugin plugin app hildon-app