Browse Source

* added Makefile to turn src/doc/man/*.txt into doc/man/*.1

git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21621 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
d557c110b6
1 changed files with 31 additions and 0 deletions
  1. +31
    -0
      src/doc/Makefile

+ 31
- 0
src/doc/Makefile

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

Loading…
Cancel
Save