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 | |
parent | 3c158ea8f10f01c18090de9a2979edad0ca0d10a (diff) | |
download | dbmodel-0a6ac1c07d9400d3b12b65eaa01da78286be6fde.tar.gz dbmodel-0a6ac1c07d9400d3b12b65eaa01da78286be6fde.tar.bz2 |
Install a man page on UNIX
-rw-r--r-- | data/dbmodel.1 | 30 | ||||
-rw-r--r-- | src/src.pro | 21 |
2 files changed, 45 insertions, 6 deletions
diff --git a/data/dbmodel.1 b/data/dbmodel.1 new file mode 100644 index 0000000..8b4ff85 --- /dev/null +++ b/data/dbmodel.1 @@ -0,0 +1,30 @@ +.TH DBMODEL "1" "January 2010" + +.SH NAME +Database Modeller - E-R diagram editor + +.SH SYNOPSIS +.B dbmodel [filename] + +.SH DESCRIPTION +.B Database Modeller +is a simple tool for drawing entity-relational diagrams. + +.SH OPTIONS +.TP +.B filename +Specificies the file to open when \fBdbmodel\fR starts. + +.SH BUGS +Please report bugs to \fIhttp://bugs.launchpad.net/dbmodel\fR. + +.SH AUTHOR +The author of Database Modeller and this manual page is Lukas Lalinsky <lalinsky@gmail.com>. +.PP +Permission is granted to copy, distribute and/or modify this document under the +terms of the +GNU General Public License, Version 2 or any later version published by the Free +Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be +found in /usr/share/common-licenses/GPL. 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. |