Disable "save" button after file is saved because temp file is moved
[gps-tracker] / Makefile
index 3d352bf..e9d7dc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ PKG_LDFLAGS := $(shell pkg-config --libs $(pkg_packages))
 # additional flags
 # -Wall: warnings
 # -g: debugging
-ADD_CFLAGS := -Wall -g
+ADD_CFLAGS := -Wall
 CDEBUG=-g
 
 # combine the flags (so that CFLAGS/LDFLAGS from the command line
@@ -22,6 +22,8 @@ LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)
 ifdef DEBUG
 CFLAGS += $(CDEBUG)
 LDFLAGS += $(CDEBUG)
+else
+CFLAGS += -O2
 endif
 
 AUX_FILES=Makefile
@@ -53,6 +55,7 @@ install:
        mkdir -p $(ICON_DIR)/64x64/hildon/
        mkdir -p $(ICON_DIR)/40x40/hildon/
        mkdir -p $(ICON_DIR)/26x26/hildon/
+       mkdir -p $(ICON_DIR)/scalable/hildon/
        mkdir -p $(BIN_DIR)
        mkdir -p $(DESKTOP_DIR)
        mkdir -p $(DBUS_SERVICE_DIR)
@@ -64,5 +67,7 @@ install:
        cp gps-tracker-64x64.png $(ICON_DIR)/64x64/hildon/gps-tracker.png
        cp gps-tracker-40x40.png $(ICON_DIR)/40x40/hildon/gps-tracker.png
        cp gps-tracker-26x26.png $(ICON_DIR)/26x26/hildon/gps-tracker.png
+       cp gps-tracker-128x128.png $(ICON_DIR)/scalable/hildon/gps-tracker.png
+       cp gps-tracker.desktop $(DESKTOP_DIR)
 
 dist: clean