More tweaks for PPA

This commit is contained in:
NeoTheFox 2015-03-09 19:12:23 +03:00
parent ccf8b362b6
commit e375f0e9ca

View File

@ -15,16 +15,27 @@ CONFIG += static
unix
{
#VARIABLES
isEmpty(PREFIX)
{
PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL
INSTALLS += target desktop service iconxpm icon26 icon48 icon64
target.path =$$BINDIR
desktop.path = $$DATADIR/applications
desktop.files += $${TARGET}.desktop
icon.path = $$DATADIR/icons
icon.files += icons/icon.png
icon.path = /usr/share/icons
desktop.files += RepRaptor.desktop
desktop.path = /usr/share/applications
repraptor.files += RepRaptor
repraptor.path = /usr/bin
INSTALLS+= icon desktop repraptor
}
SOURCES += main.cpp\