diff options
Diffstat (limited to 'src/src.pro')
-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. |