Skip to content

Commit

Permalink
Change some package related files
Browse files Browse the repository at this point in the history
  • Loading branch information
aitjcize committed Jul 5, 2010
1 parent 3b2b1a3 commit 3a0ff54
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ include misc/*
include README
include AUTHORS
include COPYING
include Changlog
include ChangeLog
2 changes: 1 addition & 1 deletion cppman/Environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
viewer = prefix + '/../lib/viewer.sh'
else:
man_dir = home + '/.local/share/man/man3/'
index_db = home + '/usr/lib/cppman/index.db'
index_db = '/usr/lib/cppman/index.db'
viewer = '/usr/lib/cppman/viewer.sh'
19 changes: 15 additions & 4 deletions misc/cppman.1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ cppman is part of the package manpages-cpp.
cppman generates C++ manual pages from cplusplus.com and provide a man-like interface to view man pages.
.sp
By default, cppman fetches man pages on demand, but by running the command 'cppman -c', all available manpages are cached, making offline browsing possible.
.SS Browsing man pages
cppman uses Vi Improved as a pager.
.br
Press 'q' to leave pager.
Press 'K' on an entry like 'vector::insert(3)' links you to the manual page of vector::insert, like a hyperlink.
.SH OPTIONS
.IP "-c, --cache-all"
cache all available man pages from cplusplus.com to enable offline browsing
Expand All @@ -26,12 +31,18 @@ show version information
.IP "-h, --help"
show this help message and exit
.SH NOTE
All contents should be fetched by the user, manpages-cpp does not contain any pre-fetched contents.
All contents should be cached by the user, manpages-cpp does not contain any pre-cached contents.
.sp
Do not distribute the fetched man pages without the permision of cplusplus.com.
Do not distribute the cached man pages without the permision of cplusplus.com.
.SH BUGS
Please report all bugs at http://github.com/Aitjcize/gettube/issues or
Although I spend a lot of time checking the format, there are still pages that won't display correctly.
.br
Feel free to report the bug at:
.sp
http://github.com/Aitjcize/gettube/issues or
.br
email to: [email protected]
mail://[email protected].
.sp
Please include the page name in the bug report.
.SH AUTHOR
Wei-Ning Huang (AZ) <[email protected]>
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ requires = python, vim
[install]
optimize=2

[build]
i18n=True

[build_ext]
inplace=1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

_data_files = [
('lib/cppman', ['lib/index.db', 'lib/viewer.sh']),
('share/doc', ['README', 'AUTHORS', 'COPYING', 'Changlog']),
('share/doc', ['README', 'AUTHORS', 'COPYING', 'ChangeLog']),
('share/man/man1', ['misc/cppman.1'])
]

Expand Down

0 comments on commit 3a0ff54

Please sign in to comment.