git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21621 10447126-35f2-4685-b0cf-6dd780d3921fmisl/sde-wrapper
@ -0,0 +1,31 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
|
#
|
||||
|
# Filename: src/doc/Makefile
|
||||
|
# Copyright (C) 2007 The OpenSDE Project
|
||||
|
#
|
||||
|
# More information can be found in the files COPYING and README.
|
||||
|
#
|
||||
|
# This program 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; version 2 of the License. A copy of the
|
||||
|
# GNU General Public License can be found in the file COPYING.
|
||||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
|
||||
|
DOCDIR=../../doc |
||||
|
MANPAGES=$(addprefix $(DOCDIR)/,$(addsuffix .1,$(basename $(wildcard man/*.txt)))) |
||||
|
|
||||
|
.PHONY: all clean |
||||
|
|
||||
|
all: $(MANPAGES) |
||||
|
|
||||
|
clean: |
||||
|
rm -f *.xml *.1 |
||||
|
|
||||
|
$(DOCDIR)/%.1: %.xml |
||||
|
@echo '[MAN] $@' |
||||
|
@xmlto man -o $(DOCDIR)/man $< |
||||
|
|
||||
|
%.xml: %.txt |
||||
|
@echo '[AD] $<' |
||||
|
@asciidoc -b docbook -d manpage -o $@ $< |