X-Git-Url: http://git.maemo.org/git/?p=bootcreen;a=blobdiff_plain;f=src%2Fsrc.pro;h=a236ddb348f730bd6e6ca6ea70c2e659d65c673e;hp=5d5de4ad5480ce66ef8299cee8934071a8323cb5;hb=HEAD;hpb=3e0f4aeed607cbe419575681d877a4ea0b34689f diff --git a/src/src.pro b/src/src.pro index 5d5de4a..a236ddb 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,3 +1,4 @@ +TEMPLATE = app TARGET = bootscreen HEADERS += bootscreen.h \ @@ -8,13 +9,24 @@ SOURCES += bootscreen.cpp \ QT += maemo5 -install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET) -install_cfg.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).conf $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET).conf -install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop -install_sd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).sudoers $(DESTDIR)/etc/sudoers.d/$(QMAKE_TARGET).sudoers -install_evd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET) $(DESTDIR)/etc/event.d/$(QMAKE_TARGET) -install_scr.commands = $(INSTALL_FILE) script/$(QMAKE_TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET) -install_i48.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_48.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/$(QMAKE_TARGET).png -install_i64.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_64.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/$(QMAKE_TARGET).png -install.depends = $(TARGET) install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 -QMAKE_EXTRA_TARGETS += install install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 +target.path = $$(DESTDIR)/opt/bootscreen +plugin.path = $$system(pkg-config hildon-control-panel --variable=pluginlibdir) +plugin.files = ../plugin/libbooscreentpanelplugin.so +desktop.path = $$system(pkg-config hildon-control-panel --variable=plugindesktopentrydir) +desktop.files = ../data/$${TARGET}.desktop +config.path = $$(DESTDIR)/opt/bootscreen +config.files = ../data/$${TARGET}.conf +sudoers.path = $$(DESTDIR)/etc/sudoers.d +sudoers.files = ../data/$${TARGET}.sudoers +upstart.path = $$(DESTDIR)/etc/event.d +upstart.files = ../data/$${TARGET} +script.path = $$(DESTDIR)/usr/bin +script.files = ../script/$${TARGET} +icon48.path = $$(DESTDIR)/usr/share/icons/hicolor/48x48/apps +icon48.files = ../data/icons/48x48/$${TARGET}.png +icon64.path = $$(DESTDIR)/usr/share/icons/hicolor/64x64/apps +icon64.files = ../data/icons/64x64/$${TARGET}.png + +INSTALLS += target plugin desktop config sudoers upstart script icon48 icon64 + +