Moved manpages seections to (1) as they aren't games.
Install manpages via qmake.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.TH QCMA 6 "MARCH 2015"
|
.TH QCMA 1 "MARCH 2015"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
qcma \- Content manager for the PlayStation Vita
|
qcma \- Content manager for the PlayStation Vita
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
@@ -1,4 +1,4 @@
|
|||||||
.TH QCMA-CLI 6 "MARCH 2015"
|
.TH QCMA-CLI 1 "MARCH 2015"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
qcma-cli \- Content manager for the PlayStation Vita
|
qcma-cli \- Content manager for the PlayStation Vita
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
@@ -13,7 +13,14 @@ HEADERS += \
|
|||||||
|
|
||||||
# Linux-only config
|
# Linux-only config
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
|
|
||||||
|
DATADIR = $$PREFIX/share
|
||||||
|
MANDIR = $$DATADIR/man/man1
|
||||||
|
|
||||||
|
man_cli.files = man/qcma_cli.1
|
||||||
|
man_cli.path = $$MANDIR
|
||||||
|
|
||||||
target.path = $$BINDIR
|
target.path = $$BINDIR
|
||||||
|
|
||||||
INSTALLS += target
|
INSTALLS += target man_cli
|
||||||
}
|
}
|
||||||
|
@@ -48,6 +48,8 @@ unix:!macx {
|
|||||||
|
|
||||||
DATADIR = $$PREFIX/share
|
DATADIR = $$PREFIX/share
|
||||||
|
|
||||||
|
MANDIR = $$DATADIR/man/man1
|
||||||
|
|
||||||
# config for desktop file and icon
|
# config for desktop file and icon
|
||||||
desktop.path = $$DATADIR/applications/$${TARGET}
|
desktop.path = $$DATADIR/applications/$${TARGET}
|
||||||
desktop.files += resources/$${TARGET}.desktop
|
desktop.files += resources/$${TARGET}.desktop
|
||||||
@@ -55,7 +57,10 @@ unix:!macx {
|
|||||||
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
|
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
|
||||||
icon64.files += resources/images/$${TARGET}.png
|
icon64.files += resources/images/$${TARGET}.png
|
||||||
|
|
||||||
|
man.files = man/qcma.1
|
||||||
|
man.path = $$MANDIR
|
||||||
|
|
||||||
target.path = $$BINDIR
|
target.path = $$BINDIR
|
||||||
|
|
||||||
INSTALLS += target desktop icon64
|
INSTALLS += target desktop icon64 man
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user