Commit graph

7 commits

Author SHA1 Message Date
Jonathan Dowland
69b8043958 fix typo @PACKAGE_SHORTNAME + '@' 2018-01-15 19:01:53 +00:00
Jonathan Dowland
c1f553b92a further manpage substitutions and fixes
Convert chocolate-setup.6 into a template file and generate outputs
based on @PROGRAM_PREFIX@.

Add @PACKAGE_SHORTNAME@ to the list of parameters handed to docgen
and make appropriate substitutions in the manpage templates.
2018-01-09 17:19:49 +00:00
Jonathan Dowland
e0b8a7e0a9 overhaul manpages, add parameters
This is in order to better support derivative engines.

Rework the manpages to be parameterized with @PROGRAM_PREFIX@ and
@PACKAGE_NAME@. Alter the `docgen` generator to substitute those
parameters. Supply those parameters via the autofoo Makefile.

Adjust the fixed path chocolate-server.6 to be generated from
server.template, similar to doom.template -> chocolate-doom.6.

Further work is required, not least renaming chocolate-setup.6,
but several further parameterizations.
2018-01-09 17:19:49 +00:00
Mike Swanson
1c5973e4af Use SDL_GetPrefPath for the configuration directory.
The function requires two arguments: an organization name and an
application name.  Let’s set the organization name to an empty string.
This will not cause issues on POSIX-compliant systems, and hopefully
not on other kinds of systems too.  This just avoids an extra
directory to the configuration path.

This should pull Chocolate Doom into compliance with the XDG Base
Directory Specification, resolving #597.
2016-07-15 01:28:44 -07:00
Simon Howard
7d51bb2262 man: Add documentation for IWAD search paths.
We now search in a bunch of different directories in order to find
IWAD files to use to play with, and the logic is a bit complicated.
Add some hopefully friendly documentation to explain where people
can put their IWAD files to play with.

Part of #597.
2015-08-23 16:12:54 -04:00
Simon Howard
46547d4b48 Tweak intros to manpages. Fix category for -hhever argument.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2616
2013-08-11 18:03:00 +00:00
Simon Howard
b1d51276a2 Split manpage.template into separate files for different games.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2614
2013-08-10 23:32:29 +00:00