Skip to content
Snippets Groups Projects
deployment.pri 462 B
Newer Older
  • Learn to ignore specific revisions
  • akiraohgaki's avatar
    akiraohgaki committed
    unix:!android {
        isEmpty(PREFIX) {
            PREFIX = /usr/local
        }
    
        SRCDIR = src
        BINDIR = $${PREFIX}/bin
        DATADIR = $${PREFIX}/share
    
        target.path = $${BINDIR}
    
        desktopentry.files = $${SRCDIR}/desktop/$${TARGET}.desktop
        desktopentry.path = $${DATADIR}/applications
    
        icon.files = $${SRCDIR}/desktop/$${TARGET}.svg
        icon.path = $${DATADIR}/icons/hicolor/scalable/apps
    
        INSTALLS += target desktopentry icon
    }
    
    export(INSTALLS)