fix a small memory leak in case user cancels the selection after new items appeared...
[simple-launcher] / Makefile
index 46a4255..21edf3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ all: $(TARGET)
 
 tests: test test1
 
-$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o utils.o
+$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o utils.o settings-dialog.o
        $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 test: test.o launcher-item.o
@@ -34,6 +34,7 @@ install: $(TARGET)
        install -m 0644 $(DESKTOP_FILE) $(DESTDIR)/usr/share/applications/hildon-home
        install -d $(DESTDIR)/usr/lib/hildon-home
        install -m 0644 $(TARGET) $(DESTDIR)/usr/lib/hildon-home
-       @install -m 0644 $(BACKUP_CONF) $(DESTDIR)/etc/osso-backup/applications/simple-launcher.conf
+       install -d $(DESTDIR)/etc/osso-backup/applications
+       install -m 0644 $(BACKUP_CONF) $(DESTDIR)/etc/osso-backup/applications/simple-launcher.conf
 
 -include *.d