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