Linux makefile generation and install

This commit is contained in:
NeoTheFox 2015-03-09 17:14:53 +03:00
parent 7cfd1aedb3
commit 07794afabb
3 changed files with 26 additions and 1 deletions

BIN
RepRaptor Executable file

Binary file not shown.

9
RepRaptor.desktop Executable file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Name=RepRaptor
Comment=A Qt RepRap gcode sender/host controller aimed to be fast and minimalistic.
Exec=/usr/local/bin/repraptor
Icon=/usr/local/share/icons/repraptor.png
Terminal=false
Type=Application
Categories=Utility;Application;

View File

@ -13,6 +13,21 @@ TARGET = RepRaptor
TEMPLATE = app TEMPLATE = app
CONFIG += static CONFIG += static
unix
{
icon.files += icons/icon.png
icon.path = /usr/local/share/icons
desktop.files += RepRaptor.desktop
desktop.path = /usr/local/share/applications
repraptor.files += RepRaptor
repraptor.extra = cp RepRaptor repraptor
repraptir.path = /usr/local/bin
INSTALLS+= icon desktop repraptor
}
SOURCES += main.cpp\ SOURCES += main.cpp\
mainwindow.cpp \ mainwindow.cpp \
settingswindow.cpp \ settingswindow.cpp \
@ -45,4 +60,5 @@ RESOURCES += \
DISTFILES += \ DISTFILES += \
LICENCE \ LICENCE \
README.md README.md \
RepRaptor.desktop