blob: 1b365c84d8a6c44cb33f3abde96f05834f085df0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# :vim: filetype=make : -*- makefile; coding: utf-8; -*-
# doc/module.mk
# Part of Bugs Everywhere, a distributed bug tracking system.
#
# Copyright © 2008 Ben Finney <ben+python@benfinney.id.au>
# This is free software; you may copy, modify and/or distribute this work
# under the terms of the GNU General Public License, version 2 or later.
# No warranty expressed or implied. See the file COPYING for details.
# Makefile module for documentation
MODULE_DIR := doc
MANPAGES = be.1
manpage_files = $(patsubst %,${MODULE_DIR}/%,${MANPAGES})
GENERATED_FILES += ${manpage_files}
.PHONY: doc
doc: man
build: doc
.PHONY: man
man: ${manpage_files}
%.1: %.1.sgml
docbook-to-man $< > $@
|