Moved manpages seections to (1) as they aren't games.

Install manpages via qmake.
This commit is contained in:
codestation
2015-03-15 00:11:30 -04:30
parent 2cf825a11a
commit 22395a71ac
4 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
.TH QCMA 6 "MARCH 2015"
.TH QCMA 1 "MARCH 2015"
.SH NAME
qcma \- Content manager for the PlayStation Vita
.SH SYNOPSIS

View File

@@ -1,4 +1,4 @@
.TH QCMA-CLI 6 "MARCH 2015"
.TH QCMA-CLI 1 "MARCH 2015"
.SH NAME
qcma-cli \- Content manager for the PlayStation Vita
.SH SYNOPSIS

View File

@@ -13,7 +13,14 @@ HEADERS += \
# Linux-only config
unix:!macx {
DATADIR = $$PREFIX/share
MANDIR = $$DATADIR/man/man1
man_cli.files = man/qcma_cli.1
man_cli.path = $$MANDIR
target.path = $$BINDIR
INSTALLS += target
INSTALLS += target man_cli
}

View File

@@ -48,6 +48,8 @@ unix:!macx {
DATADIR = $$PREFIX/share
MANDIR = $$DATADIR/man/man1
# config for desktop file and icon
desktop.path = $$DATADIR/applications/$${TARGET}
desktop.files += resources/$${TARGET}.desktop
@@ -55,7 +57,10 @@ unix:!macx {
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += resources/images/$${TARGET}.png
man.files = man/qcma.1
man.path = $$MANDIR
target.path = $$BINDIR
INSTALLS += target desktop icon64
INSTALLS += target desktop icon64 man
}