diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2010-01-24 14:49:11 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2010-01-24 14:49:11 +0100 |
commit | 0a6ac1c07d9400d3b12b65eaa01da78286be6fde (patch) | |
tree | 6f3fa7b8ebedc8d5cc3a0fff22d3fe22e6ee35c7 /src | |
parent | 3c158ea8f10f01c18090de9a2979edad0ca0d10a (diff) | |
download | dbmodel-0a6ac1c07d9400d3b12b65eaa01da78286be6fde.tar.xz |
Install a man page on UNIX
Diffstat (limited to 'src')
-rw-r--r-- | src/src.pro | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/src.pro b/src/src.pro index 5035315..7d3f7da 100644 --- a/src/src.pro +++ b/src/src.pro @@ -22,14 +22,23 @@ UI_DIR = $$PWD/.build RCC_DIR = $$PWD/.build unix { - isEmpty(PREFIX) { - PREFIX = /usr/local - } + isEmpty(PREFIX) { + PREFIX = /usr/local + } - BINDIR = $$PREFIX/bin + BINDIR = $$PREFIX/bin + DATADIR = $$PREFIX/share - INSTALLS += target - target.path = $$BINDIR + INSTALLS += target man man-compress + + target.path = $$BINDIR + + man.path = $$DATADIR/man/man1 + man.files += ../data/dbmodel.1 + + man-compress.path = $$DATADIR/man/man1 + man-compress.extra = "" "gzip -9 -f \$(INSTALL_ROOT)/$$DATADIR/man/man1/dbmodel.1" "" + man-compress.depends = install_man } # It's required for windows correct include path. |