cool-retro-term/cool-retro-term.pro
Marius P 52527b8b55 project file allow installation in another dir than "/usr"
E.g. this way I can build and install in "~/.local", or "/usr/local".
2024-10-11 10:57:26 +02: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