a-nikolaev / curseofwar

A Real Time Strategy game for Linux.
http://a-nikolaev.github.io/curseofwar/
GNU General Public License v3.0
320 stars 34 forks source link

Manpage #5

Closed md2501 closed 11 years ago

md2501 commented 11 years ago

This adds a complete manpage in the correct section, that is installed with make install. It also updates VERSION

a-nikolaev commented 11 years ago

That's exactly what was needed! Thanks a lot! I will merge it later today.

Sicness commented 11 years ago

Maximilian, thanks! Good work. I'll check deb build... wait for me please.

Maximilian, may be a good idea to squash this commits?

Sicness commented 11 years ago

The manpage looks perfect, thanks for Maximilian :) Build the deb and install is successful. IMHO it can be merged and when I'll build new release. Please, set a new tag.

BTW, May be it's good idea to have thanks list in README file or something like that.

a-nikolaev commented 11 years ago

All contributors are mentioned in the manpage. Maybe, we can keep them in one place. Well, I don't know what's the common practice..

Sicness commented 11 years ago

I have got an error: [07:58:29]raring:/ $ man curseofwar man: can't resolve /usr/share/man/man1/curseofwar.1.gz: No such file or directory And after that got a manpage.

I know, I should call man 6 curseofwar, but should be this error msg if I'll run man without 6 ? May be there is some redirects? Or another way...

a-nikolaev commented 11 years ago

According to the Makefile, the man page is installed to /usr/man/man6/. I think, it should probably go to /usr/share/man/man6/ instead. Maybe, in your case man checks /usr/share/man/ directory and fails, and then tries /usr/man/.

Sicness commented 11 years ago

I agree with you. man man says: /usr/share/man A global manual page hierarchy. Look at /etc/manpath.config and you can find next line: MANPATH_MAP /usr/games /usr/share/man

Yeap, according to GNU/Linux standarts, we should install the game to /usr/games/

md2501 commented 11 years ago

Ok, my mistake. I'm using crux and the default man directory there is /usr/man.