1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-02-07 13:41:27 +00:00
cool-retro-term/cool-retro-term.pro
Marius P 45caf28760 project file allow installation in another dir than "/usr"
E.g. this way I can build and install in "~/.local", or "/usr/local".
2022-08-29 13:06:13 +03:00

22 lines
489 B
Prolog

TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += qmltermwidget
SUBDIRS += app
#########################################
## INSTALLS
#########################################
PREFIX = $$(PREFIX) # Pass the make install PREFIX via environment variable. E.g. "PREFIX=/path/to/my/dir qmake".
isEmpty(PREFIX) {
message(No prefix given. Using /usr.)
PREFIX=/usr
}
desktop.files += cool-retro-term.desktop
desktop.path += $$PREFIX/share/applications
INSTALLS += desktop