Created Sphinx framework with sphinx-quickstart and added .txt extensiosns
[be.git] / doc / src / module.mk
1 # :vim: filetype=make : -*- makefile; coding: utf-8; -*-
2
3 # doc/module.mk
4 # Part of Bugs Everywhere, a distributed bug tracking system.
5 #
6 # Copyright (C) 2008-2010 Chris Ball <cjb@laptop.org>
7 #                         Gianluca Montecchi <gian@grys.it>
8 #                         W. Trevor King <wking@drexel.edu>
9 #
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2 of the License, or
13 # (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License along
21 # with this program; if not, write to the Free Software Foundation, Inc.,
22 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
24 # Makefile module for documentation
25
26 MODULE_DIR := doc/src
27
28 MANPAGES = be.1
29 manpage_files = $(patsubst %,${MODULE_DIR}/%,${MANPAGES})
30
31 GENERATED_FILES += ${manpage_files}
32
33 \f
34 .PHONY: doc
35 doc: man
36
37 build: doc
38
39 \f
40 .PHONY: man
41 man: ${manpage_files}
42
43 %.1: %.1.sgml
44         docbook-to-man $< > $@