aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/OS-detect.pri
diff options
context:
space:
mode:
authorMrt134 <timmoore88@gmail.com>2017-03-30 12:35:30 -0400
committerMrt134 <timmoore88@gmail.com>2017-03-30 12:35:30 -0400
commit5bef811947f2b6c904fc7342a2e1e55d40a56da5 (patch)
treefa128eb4dedf4b3890077719beef340f76cd227e /src-qt5/OS-detect.pri
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-5bef811947f2b6c904fc7342a2e1e55d40a56da5.tar.gz
lumina-5bef811947f2b6c904fc7342a2e1e55d40a56da5.tar.bz2
lumina-5bef811947f2b6c904fc7342a2e1e55d40a56da5.zip
Add new lumina-open manpage:
- Adjusts lumina build system to have additional variables for manpage placement and generation.
Diffstat (limited to 'src-qt5/OS-detect.pri')
-rw-r--r--src-qt5/OS-detect.pri5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/OS-detect.pri b/src-qt5/OS-detect.pri
index 4ac280cf..eb7fd231 100644
--- a/src-qt5/OS-detect.pri
+++ b/src-qt5/OS-detect.pri
@@ -16,6 +16,7 @@
# L_SHAREDIR: Directory to install the general Lumina files
# L_INCLUDEDIR: Directory to install include files
# L_SESSDIR: Directory to place *.desktop file for starting the Lumina session
+# L_MANDIR: Directory to place man files
# LRELEASE: binary path to the Qt lrelease utility (usually auto-set)
# =============================================
# Note: Make sure the OS variable matches the name of a libLumina/LuminaOS-<OS>.cpp file
@@ -93,8 +94,9 @@ isEmpty(OS){
isEmpty(L_SHAREDIR){ L_SHAREDIR = $${PREFIX}/share }
isEmpty(L_INCLUDEDIR){ L_INCLUDEDIR = $${PREFIX}/include }
isEmpty(L_SESSDIR){ L_SESSDIR = $${L_SHAREDIR}/xsessions }
+ isEmpty(L_MANDIR){ L_MANDIR = $${PREFIX}/man }
isEmpty(LRELEASE){ LRELEASE = $$[QT_INSTALL_BINS]/lrelease }
-
+ isEmpty(MAN_ZIP){ MAN_ZIP = "gzip -c" }
!exists(LRELEASE){ NO_I18N=true } #translations unavailable
#Now convert any of these install path variables into defines for C++ usage
@@ -110,5 +112,6 @@ isEmpty(OS){
L_SHAREDIR = $$DESTDIR$${L_SHAREDIR}
L_INCLUDEDIR = $$DESTDIR$${L_INCLUDEDIR}
L_SESSDIR = $$DESTDIR$${L_SESSDIR}
+ L_MANDIR = $$DESTDIR$${L_MANDIR}
}
}
bgstack15