]> git.pond.sub.org Git - empserver/commitdiff
Install all manual pages in section 6, where they belong. Source
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 11 Jul 2007 19:45:28 +0000 (19:45 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 11 Jul 2007 19:45:28 +0000 (19:45 +0000)
files renamed.

Make.mk
man/fairland.1 [deleted file]
man/fairland.6 [new file with mode: 0644]
man/files.1 [deleted file]
man/files.6 [new file with mode: 0644]
man/pconfig.1 [deleted file]
man/pconfig.6 [new file with mode: 0644]

diff --git a/Make.mk b/Make.mk
index 2d255832d57e5bb47f3cd552a928365683d2c8e5..628a99ef695b50217164df3f89c8c1078bc706aa 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -50,7 +50,6 @@ all:
 dirs := $(sort $(dir $(src)))
 csrc := $(filter %.c, $(src))
 tsrc := $(filter %.t, $(src))
-man1 := $(filter man/%.1, $(src))
 man6 := $(filter man/%.6, $(src))
 builtins := $(filter src/lib/global/%.config, $(src))
 
@@ -173,7 +172,6 @@ install: all installdirs
        $(INSTALL_PROGRAM) $(client) $(bindir)
        $(INSTALL) -m 444 $(addprefix $(srcdir)/, $(builtins)) $(builtindir)
        $(INSTALL_DATA) $(info.nr) $(einfodir)
-       $(INSTALL_DATA) $(addprefix $(srcdir)/, $(man1)) $(mandir)/man1
        $(INSTALL_DATA) $(addprefix $(srcdir)/, $(man6)) $(mandir)/man6
        if [ -e $(econfig) ]; then                                      \
            if src/util/pconfig $(econfig) >$(econfig).new; then        \
@@ -193,7 +191,7 @@ install: all installdirs
 
 .PHONY: installdirs
 installdirs:
-       mkdir -p $(sbindir) $(bindir) $(builtindir) $(einfodir) $(mandir)/man1 $(mandir)/man6 $(dir $(econfig)) $(gamedir)
+       mkdir -p $(sbindir) $(bindir) $(builtindir) $(einfodir) $(mandir)/man6 $(dir $(econfig)) $(gamedir)
 
 .PHONY: install-html
 install-html: html
@@ -205,7 +203,6 @@ uninstall:
        rm -f $(addprefix $(sbindir)/, $(notdir $(util) $(server)))
        rm -f $(addprefix $(bindir)/, $(notdir $(client)))
        rm -rf $(builtindir) $(einfodir)
-       rm -f $(addprefix $(mandir)/man1/, $(notdir $(man1)))
        rm -f $(addprefix $(mandir)/man6/, $(notdir $(man6)))
        @[ -e $(gamedir) ] && echo "$(gamedir) not removed, you may wish to remove it manually."
        @[ -e $(econfig) ] && echo "$(econfig) not removed, you may wish to remove it manually."
diff --git a/man/fairland.1 b/man/fairland.1
deleted file mode 100644 (file)
index 10534b7..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-.TH FAIRLAND 1
-.SH NAME
-fairland \- Empire land generator
-.SH SYNOPSIS
-.B fairland
-[
-.BI \-aioq
-]
-[
-.BI \-s\ scriptout
-]
-[
-.BI \-e\ configfile
-]
-[
-.BI \-R\ seed
-]
-.IR nc
-.IR sc
-[
-.IR ni
-]
-[
-.IR is
-]
-[
-.IR sp
-]
-[
-.IR pm
-]
-[
-.IR di
-]
-[
-.IR id
-]
-.br
-.SH DESCRIPTION
-.I fairland
-is a program which creates land and ore for Empire.  It
-should be run after 
-.I files 
-has been run and before 
-.I emp_server
-has been started.  This is a land generator for empire that creates a
-specified number of continents, and spaces them evenly accross the
-map.  It tries to make all of them the same size, and makes sure that
-they don't meet.  It gives each start island exactly the same
-distribution of resources and the same number of mountains.  You can
-get nearly any kind of map you want by choosing the right arguments.
-.SH OPTIONS
-.TP
-.B \-a 
-mark the continents with a * so that you can tell them from the islands
-.TP
-.B \-i
-islands will crash into each other and merge
-.TP
-.B \-o
-do not set the resources.  If you use this flag, then you will need to
-run some other program (for example the 
-.I ore 
-program) to set the resources.
-.TP
-.B \-q
-run quietly without printing anything to the terminal
-.TP
-.BI \-s\ scriptout
-writes a script for placing capitol to the file
-.I scriptout
-(If you don't specify this argument, then the script will be written
-to "newcap_script".)
-.TP
-.BI \-e\ configfile
-causes
-.I fairland
-to use the game configuration specified in 
-.I configfile
-(by default, the file "econfig" in the data directory is used)
-.TP
-.BI \-R\ seed
-Use
-.I seed
-as seed for the pseudo-random number generator. This can be used to reproduce
-a previously created world. (by default the current time and process id of
-the server are used as seed.) The seed used to generate a world is printed
-along with the map.
-.TP
-.IR nc 
-number of continents
-.TP
-.IR sc 
-continent size
-.TP
-.IR ni 
-number of islands (optional, default = nc)
-.TP
-.IR is 
-average size of islands (optional, default = sc/2)
-.TP
-.IR sp 
-spike percentage: 0 = round, 100 = snake (default = 10)
-.TP
-.IR pm 
-the percentage of land that is mountain (default = 0)
-.TP
-.IR di 
-the minimum distance between continents (default = 2)
-.TP
-.IR id 
-minimum distance from islands to continents (default = 1)
-
-.SH AUTHOR
-Ken Stevens <chidren@empire.net>
-
diff --git a/man/fairland.6 b/man/fairland.6
new file mode 100644 (file)
index 0000000..10534b7
--- /dev/null
@@ -0,0 +1,116 @@
+.TH FAIRLAND 1
+.SH NAME
+fairland \- Empire land generator
+.SH SYNOPSIS
+.B fairland
+[
+.BI \-aioq
+]
+[
+.BI \-s\ scriptout
+]
+[
+.BI \-e\ configfile
+]
+[
+.BI \-R\ seed
+]
+.IR nc
+.IR sc
+[
+.IR ni
+]
+[
+.IR is
+]
+[
+.IR sp
+]
+[
+.IR pm
+]
+[
+.IR di
+]
+[
+.IR id
+]
+.br
+.SH DESCRIPTION
+.I fairland
+is a program which creates land and ore for Empire.  It
+should be run after 
+.I files 
+has been run and before 
+.I emp_server
+has been started.  This is a land generator for empire that creates a
+specified number of continents, and spaces them evenly accross the
+map.  It tries to make all of them the same size, and makes sure that
+they don't meet.  It gives each start island exactly the same
+distribution of resources and the same number of mountains.  You can
+get nearly any kind of map you want by choosing the right arguments.
+.SH OPTIONS
+.TP
+.B \-a 
+mark the continents with a * so that you can tell them from the islands
+.TP
+.B \-i
+islands will crash into each other and merge
+.TP
+.B \-o
+do not set the resources.  If you use this flag, then you will need to
+run some other program (for example the 
+.I ore 
+program) to set the resources.
+.TP
+.B \-q
+run quietly without printing anything to the terminal
+.TP
+.BI \-s\ scriptout
+writes a script for placing capitol to the file
+.I scriptout
+(If you don't specify this argument, then the script will be written
+to "newcap_script".)
+.TP
+.BI \-e\ configfile
+causes
+.I fairland
+to use the game configuration specified in 
+.I configfile
+(by default, the file "econfig" in the data directory is used)
+.TP
+.BI \-R\ seed
+Use
+.I seed
+as seed for the pseudo-random number generator. This can be used to reproduce
+a previously created world. (by default the current time and process id of
+the server are used as seed.) The seed used to generate a world is printed
+along with the map.
+.TP
+.IR nc 
+number of continents
+.TP
+.IR sc 
+continent size
+.TP
+.IR ni 
+number of islands (optional, default = nc)
+.TP
+.IR is 
+average size of islands (optional, default = sc/2)
+.TP
+.IR sp 
+spike percentage: 0 = round, 100 = snake (default = 10)
+.TP
+.IR pm 
+the percentage of land that is mountain (default = 0)
+.TP
+.IR di 
+the minimum distance between continents (default = 2)
+.TP
+.IR id 
+minimum distance from islands to continents (default = 1)
+
+.SH AUTHOR
+Ken Stevens <chidren@empire.net>
+
diff --git a/man/files.1 b/man/files.1
deleted file mode 100644 (file)
index 89101ec..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-.TH FILES 1
-.SH NAME
-files \- Empire file initialization
-.SH SYNOPSIS
-.B files
-[
-.BI \-e\ configfile
-]
-[
-.BI \-f
-]
-.br
-.SH DESCRIPTION
-.I files
-creates all of the files which are required by 
-.I emp_server
-to run a game.  It will destroy all previous game data, so excercise
-caution when running this program.
-.SH OPTIONS
-.TP
-.BI \-e\ configfile
-causes
-.I files
-to use the game configuration specified in 
-.I configfile
-(by default, the file "econfig" in the data directory is used)
-.TP
-.BI \-f
-Clobber existing game data without asking for confirmation.
diff --git a/man/files.6 b/man/files.6
new file mode 100644 (file)
index 0000000..89101ec
--- /dev/null
@@ -0,0 +1,29 @@
+.TH FILES 1
+.SH NAME
+files \- Empire file initialization
+.SH SYNOPSIS
+.B files
+[
+.BI \-e\ configfile
+]
+[
+.BI \-f
+]
+.br
+.SH DESCRIPTION
+.I files
+creates all of the files which are required by 
+.I emp_server
+to run a game.  It will destroy all previous game data, so excercise
+caution when running this program.
+.SH OPTIONS
+.TP
+.BI \-e\ configfile
+causes
+.I files
+to use the game configuration specified in 
+.I configfile
+(by default, the file "econfig" in the data directory is used)
+.TP
+.BI \-f
+Clobber existing game data without asking for confirmation.
diff --git a/man/pconfig.1 b/man/pconfig.1
deleted file mode 100644 (file)
index d79c4ff..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-.TH PCONFIG 1
-.SH NAME
-pconfig \- Print configuration
-.SH SYNOPSIS
-.B pconfig
-[
-.IR configfile
-]
-.br
-.SH DESCRIPTION
-.I pconfig
-creates an "econfig" file which may be used with the \-e argument with
-most Empire programs.  By default, Empire programs look for a file
-called "econfig" in the data directory, but the 
-.I pconfig
-program may be used to create an alternate Empire configuration file.
-After you have created an "econfig" file, you can edit the game
-configuration data in the file which the server uses to control
-various parameters for the game.
-.SH OPTIONS
-.TP
-.BI configfile
-causes
-.I pconfig
-to use the game configuration specified in 
-.I configfile
-.SH AUTHOR
-Julian Onions <j.onions@nexor.co.uk>
diff --git a/man/pconfig.6 b/man/pconfig.6
new file mode 100644 (file)
index 0000000..d79c4ff
--- /dev/null
@@ -0,0 +1,28 @@
+.TH PCONFIG 1
+.SH NAME
+pconfig \- Print configuration
+.SH SYNOPSIS
+.B pconfig
+[
+.IR configfile
+]
+.br
+.SH DESCRIPTION
+.I pconfig
+creates an "econfig" file which may be used with the \-e argument with
+most Empire programs.  By default, Empire programs look for a file
+called "econfig" in the data directory, but the 
+.I pconfig
+program may be used to create an alternate Empire configuration file.
+After you have created an "econfig" file, you can edit the game
+configuration data in the file which the server uses to control
+various parameters for the game.
+.SH OPTIONS
+.TP
+.BI configfile
+causes
+.I pconfig
+to use the game configuration specified in 
+.I configfile
+.SH AUTHOR
+Julian Onions <j.onions@nexor.co.uk>