diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-12-29 20:19:40 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-12-30 15:19:33 -0300 |
commit | 8e126dc6258353be42b944107a40cde1a7dfb085 (patch) | |
tree | b96360becf1b9f4a42df68b77a1f1045d0e48035 /pylupdate | |
parent | 37e523670a02a25d08ec067df5df21173b5cca8b (diff) |
Added man page to pyside-lupdate.
Diffstat (limited to 'pylupdate')
-rw-r--r-- | pylupdate/CMakeLists.txt | 7 | ||||
-rw-r--r-- | pylupdate/pyside-lupdate.1 | 27 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pylupdate/CMakeLists.txt b/pylupdate/CMakeLists.txt index 0b34e80..bc1bd88 100644 --- a/pylupdate/CMakeLists.txt +++ b/pylupdate/CMakeLists.txt @@ -29,3 +29,10 @@ target_link_libraries(pyside-lupdate ${QT_QTGUI_LIBRARY}) install(TARGETS pyside-lupdate RUNTIME DESTINATION bin) + +# Man pages +if (NOT win32) + file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1") + install(FILES ${manpages} DESTINATION share/man/man1) +endif() + diff --git a/pylupdate/pyside-lupdate.1 b/pylupdate/pyside-lupdate.1 new file mode 100644 index 0000000..d2ea10d --- /dev/null +++ b/pylupdate/pyside-lupdate.1 @@ -0,0 +1,27 @@ +.TH PYSIDE-LUPDATE "1" "December 2010" "pyside-lupdate" "User Commands" +.SH NAME +pyside\-lupdate \- extracts translatable messages from Qt UI files and Python source code. +.SH DESCRIPTION +.SS "Usage:" +.IP +pyside\-lupdate [options] project\-file +.IP +pyside\-lupdate [options] source\-files \-ts ts\-files +.SS "Options:" +.TP +\fB\-noobsolete +Drop all obsolete strings +.TP +\fB\-verbose +Explain what is being done +.TP +\fB\-version +Display the version of pyside-lupdate and exit +.TP +\fB\-help +Display this information and exit +.SH COPYRIGHT +Copyright \(co 2010 Nokia Corporation and/or its subsidiary(\fB\-ies\fR) +.SH AUTHOR +.PP +This manpage was written by Marcelo Lira <marcelo@setantas.net>, on the 29. December 2010. |