Commit graph

66 commits

Author SHA1 Message Date
Simon Howard
6ad2f405b9 Refer to SDL2 versions of libraries in docs.
Helps to be accurate.
2016-02-28 14:26:25 -05:00
Rodrigo Rebello
86cb29b693 Avoid use of '$<' and '$^' in Makefile rules
Versions of make other than GNU make don't support automatic variables
in explicit rules, only in suffix (implicit) ones.

This fixes the build on FreeBSD (and possibly other BSD variants), which
was failing with errors like:

cp  chocolate-doom-setup
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file ... target_directory
*** Error code 64

Stop.
2015-12-30 11:36:28 -02:00
Fabian Greffrath
cb4848b8da bash-completion: allow multiple files with the same extensions
passed to the same switch, e.g. -file a.wad b.wad.

Also, fix the -setmen typo.
2015-10-30 08:53:37 +01:00
Fabian Greffrath
278cd34b3e bash-completion: fix syntax error
_filedir expects a regex as an argument, not a lose list of file extensions
2015-10-30 08:25:21 +01:00
Mike Swanson
c3e5879502 bash-completion: Detect the appropriate directory for installation 2015-10-27 09:30:24 -07:00
Fabian Greffrath
ad37a8ff33 Bash-Completion: First attempt at programatically creating the parameters list 2015-10-26 18:44:30 +01:00
Fabian Greffrath
d9738a5372 man: add a bash-completion scriptlet
Only one for all four games and only static for the time being.

In the long term, we should modify the docgen script to emit the
possible valid command line parameters and their additional options
and thus create separate bash-completion scriptlets for all four
games.
2015-10-18 11:48:57 +02: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
Fabian Greffrath
4ee95eb27f man: fix the very last hyphen used as minus sign 2015-05-01 13:54:36 +02:00
Fabian Greffrath
d5fe304162 man: fix one last hyphen used as minus sign 2015-05-01 13:50:45 +02:00
Mike Swanson
ad027ef6db man: Use \- to denote dashes. Fixes #512 2015-03-25 16:06:11 -07:00
Fabian Greffrath
80bf45c902 man: fix typo in manual generation
There was a slash separator missing

Thanks sneakernets for the bug report!

Fixes #498
2014-12-29 14:25:31 +01:00
Dave Murphy
d66659c606 allow building in subdirectory or outside source directory 2014-12-26 15:40:46 +00:00
Mike Swanson
c4332b7691 Ignore some more autogenerated files 2014-06-12 18:13:37 -07:00
Fabian Greffrath
9fcbb2be4e Follow up for "fix man/Makefile for forks" 2014-04-22 13:09:00 +02:00
Simon Howard
a80aa343a5 Simplify INSTALL.template music notes.
Now that there is more extensive documentation in README.Music, remove
some of the details from the INSTALL files and just include a
reference to it.
2014-04-05 15:08:59 -04:00
Fabian Greffrath
60309a7b15 Fix man/Makefile for forks
The chocolate-{server,serup}.6 manpages are static and not auto-generated, so they do not get renamed when the @PROGRAM_PREFIX@ variable changes. This breaks the Make rules for forks, which will have to create their own server and setup manpages anyway. This reverts part of commit 08ad5553 by myself which introduced the issue.

Fixes https://github.com/fabiangreffrath/crispy-doom/issues/2
2014-04-05 14:42:05 +02:00
Fabian Greffrath
b8dfaffcb5 Revert the more controversial changes in my previous pull request.
Add back  to binaries that are built and installed as _SCRIPTS targets.
Copy instead of symbolic linking, the files are needed as binary copies anyway to allow for separate packaging of the game engines.
2014-02-03 06:34:27 +01:00
Fabian Greffrath
08ad5553fd Some improvements to the build system
1) Instead of copying chocolate-setup into chocolate-{doom,heretic,hexen,strife}-setup,
   respectively, check in configure for symbolic linking and use that if available
   (falls back to "cp -pR" if not).
2) Add $(icons_DATA) to CLEANFILES so they get removed in clean phase; they are
   generated from doom-png and setup.png, respectively.
3) Consistently use @PROGRAM_PREFIX@ instead of the hard-coded "chocolate-" in
   the rules for the man pages.
4) Generate one man page for each setup program by symbolic linking of
   chocolate-setup.6 (see 1), add them to the list of installed man pages and
   to CLEANFILES.
5) Remove the redundant $(EXEEXT) suffix from the setup binaries (they were missing
   for execgames_PROGRAMS, anyway)
2014-01-20 11:00:53 +01:00
Jan Engelhardt
d44fdfaeee build: fix not-honored --docdir setting
Despite using `./configure --docdir=XYZ` and/or `make docdir=XYZ`, the
directory is ignored. Resolve that problem.
2013-12-10 16:59:42 +01:00
Simon Howard
e52ca315e5 Don't clean static manpages (oops).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2757
2013-12-04 04:46:17 +00:00
Simon Howard
3f7cafb370 Fix 'make clean' where some files were not being cleaned (thanks
fabian).

Subversion-branch: /branches/v2-branch
Subversion-revision: 2756
2013-12-04 04:40:02 +00:00
Simon Howard
51526b9a4a Update INSTALL template file to include upgrade instructions for
Heretic, Hexen and Strife (thanks chungy).

Subversion-branch: /branches/v2-branch
Subversion-revision: 2748
2013-11-17 01:41:33 +00:00
Simon Howard
c39fd3c54c Use .items() rather than .iteritems() for compatibility with Python 2.7
and Python 3.0 (thanks chungy).

Subversion-branch: /branches/v2-branch
Subversion-revision: 2726
2013-10-28 01:30:56 +00:00
Simon Howard
0bbfb99e56 Fix make dist.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2676
2013-09-21 05:50:19 +00:00
Simon Howard
a853a1ef62 Install documentation files into separate directories, one for each
game. This will allow for easier Unix packaging.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2672
2013-09-21 04:35:48 +00:00
Simon Howard
b0a0f90cd9 Rework documentation system to generate INSTALL files tailored for the
different games.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2652
2013-09-15 22:41:33 +00:00
Simon Howard
d2e79e322a Reword CMDLINE template lead-in text to be game agnostic.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2651
2013-09-15 22:20:17 +00:00
Simon Howard
110d279326 Remove top-level CMDLINE documentation file and generate multiple
CMDLINE files, one for each game.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2648
2013-09-15 21:04:36 +00:00
Simon Howard
ffb162b344 Update INSTALL file to cover non-Doom games and GUS emulation feature.
Remove note about CDs that don't contain the IWADs on-disk as I don't
think any exist.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2636
2013-09-04 04:36:02 +00: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
Simon Howard
f0f56055d8 Initial docgen changes to generate manpages for Heretic, Hexen, Strife.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2568
2013-03-24 01:38:37 +00:00
Simon Howard
855c7a4850 Add dependency for INSTALL generation.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2341
2011-05-17 22:51:37 +00:00
Simon Howard
5a2bbe2e13 Add vim modeline for text wrapping to documentation text files.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2315
2011-03-28 23:39:48 +00:00
Simon Howard
35e27b41d7 Minor tweaks to MacOS instructions.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2301
2011-03-10 19:45:29 +00:00
Simon Howard
b2c9fd8841 Minor tweak to INSTALL instructions.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2300
2011-03-10 19:20:10 +00:00
Simon Howard
eca0d817b7 Replace the INSTALL file with a template version that is customized to
different platforms.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2299
2011-03-10 19:03:23 +00:00
Simon Howard
463bcf013c Add a M_CheckParmWithArgs function, that behaves like M_CheckParm but
also checks that extra options were provided on the command line (thanks
Sander van Dijk).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2223
2010-12-18 23:55:07 +00:00
Simon Howard
f4eb88dd23 Add -privateserver and -servername options to chocolate-server manpage.
Add server registration option to setup tool (thanks exp(x)).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2220
2010-12-12 13:11:11 +00:00
Simon Howard
167d4df40b Update Python scripts to work in Python 3.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2162
2010-11-09 16:10:52 +00:00
Simon Howard
0b8bf3cfe3 Merge from trunk.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1829
2010-01-27 19:50:30 +00:00
Simon Howard
d27d3bb8b6 Add other missing files to dist.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1743
2009-11-29 22:50:17 +00:00
Simon Howard
43f160000c Add documentation for OPL_DRIVER environment variable.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1693
2009-09-27 00:08:19 +00:00
Simon Howard
2a60e32a3a Fix manpage documentation for DOOMWADPATH (thanks MikeRS)
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1526
2009-05-19 17:07:49 +00:00
Simon Howard
0b01221f1b Add "see also" sections to manpages and GPL note. Add "files" section to
chocolate-doom.6

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1104
2008-03-12 20:12:51 +00:00
Simon Howard
0c2b0232b6 Don't sort config file variables alphabetically. Throw an exception for
unknown documentation comments.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1093
2008-02-26 22:10:06 +00:00
Simon Howard
3951c995eb Replace manpage header, footer, environment files with a single template
file. Generate documentation for the default.cfg and chocolate-doom.cfg
configuration files.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1091
2008-02-25 23:50:07 +00:00
Simon Howard
2b978dbdad Add command line option for server to allow client version checking to
be disabled.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1086
2008-02-17 03:12:25 +00:00
Simon Howard
4896a17189 Add manpages for chocolate-setup, chocolate-server, based on the
versions by Jon Dowland for the Chocolate Doom debian package (thanks!)

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1016
2008-01-24 19:14:44 +00:00