summaryrefslogtreecommitdiff
path: root/man/man.am
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2014-09-03 22:19:11 +0200
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2015-01-27 23:13:14 +0100
commit9828e05cbb0d7112ad65fe364c7272f976e4d7d2 (patch)
tree4738cf38f303cff31e4831116f615b17a0adbd29 /man/man.am
parente1d74edf2cd5d99503d71d52ee49fdcd0df2ae8b (diff)
downloadgroff-git-9828e05cbb0d7112ad65fe364c7272f976e4d7d2.tar.gz
Build, installation, and distribution of man files
Diffstat (limited to 'man/man.am')
-rw-r--r--man/man.am42
1 files changed, 42 insertions, 0 deletions
diff --git a/man/man.am b/man/man.am
new file mode 100644
index 000000000..9658ad33f
--- /dev/null
+++ b/man/man.am
@@ -0,0 +1,42 @@
+# Copyright (C) 2014
+# Free Software Foundation, Inc.
+#
+# This file is part of `groff'
+#
+# `groff' is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# `groff' is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+man5_MANS += \
+ man/groff_font.n \
+ man/groff_out.n \
+ man/groff_tmac.n
+man7_MANS += \
+ man/ditroff.n \
+ man/groff_char.n \
+ man/groff_diff.n \
+ man/groff.n \
+ man/roff.n
+EXTRA_DIST += \
+ man/groff_font.man \
+ man/groff_out.man \
+ man/groff_tmac.man \
+ man/ditroff.man \
+ man/groff_char.man \
+ man/groff_diff.man \
+ man/groff.man \
+ man/roff.man
+
+# Case of out-of-source build: we must create the 'man' directory.
+BUILT_SOURCES += man
+man:
+ $(MKDIR_P) $(top_builddir)/man