Skip to content
Snippets Groups Projects
Forked from akiraohgaki / ocs-url
65 commits behind the upstream repository.
deployment.pri 456 B
unix:!ios:!android {
    isEmpty(PREFIX) {
        PREFIX = /usr/local
    }

    SRCDIR = $${PWD}
    BINDIR = $${PREFIX}/bin
    DATADIR = $${PREFIX}/share

    target.path = $${BINDIR}

    desktop.files = $${SRCDIR}/desktop/$${TARGET}.desktop
    desktop.path = $${DATADIR}/applications

    icon.files = $${SRCDIR}/desktop/$${TARGET}.svg
    icon.path = $${DATADIR}/icons/hicolor/scalable/apps

    INSTALLS += target desktop icon
}

export(INSTALLS)