From: François Revol Date: Tue, 10 Aug 2021 16:35:24 +0000 (+0200) Subject: Allow overriding PREFIX X-Git-Tag: 0.7.1~8 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/ef9a71b6ca33894bfbe822c8a8fd2693114ef0b5 Allow overriding PREFIX Haiku requires a different install path. --- diff --git a/src/app/app.pro b/src/app/app.pro index 37f4f48..b268734 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -32,7 +32,9 @@ RESOURCES += ../icons.qrc \ ../../data/data.qrc # instalation related -PREFIX = /usr/bin +!defined(PREFIX, var) { + PREFIX = /usr/bin +} INSTALLS = target target.path = $$PREFIX