aboutsummaryrefslogblamecommitdiffstats
path: root/doc/module.mk
blob: 1b365c84d8a6c44cb33f3abde96f05834f085df0 (plain) (tree)






























                                                                         
# :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 $< > $@