Moved initramfs output format's initramfs_install_overlay to a global lib/overlay...
[opensde-nopast.git] / src / doc / Makefile
blob61c04af818c0869bb48390d7d63e3204a4926df8
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # Filename: src/doc/Makefile
5 # Copyright (C) 2007 The OpenSDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- SDE-COPYRIGHT-NOTE-END ---
15 DOCDIR=../../doc
16 MANPAGES=$(addprefix $(DOCDIR)/,$(addsuffix .1,$(basename $(wildcard man/*.txt))))
18 .PHONY: all clean
20 all: $(MANPAGES)
22 clean:
23 rm -f *.xml *.1
25 $(DOCDIR)/%.1: %.xml
26 @echo '[MAN] $@'
27 @xmlto man -o $(DOCDIR)/man $<
29 %.xml: %.txt
30 @echo '[AD] $<'
31 @asciidoc -b docbook -d manpage -o $@ $<