This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/docs/Makefile
2005-09-29 16:48:18 +00:00

38 lines
1.1 KiB
Makefile
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# $Id$
# -*- makefile to build some Golded+ documentation -*-
# (c) Stas Degteff 2:5080/102@FIDONET, stas_degteff@users.sourceforge.net
HTMLS= golded.html goldnode.html rddt.html
TXTS= golded.txt goldnode.txt rddt.txt
all: html-doc txt-doc tokentpl.txt tokencfg.txt
html: html-doc
html-doc: $(HTMLS)
txt: txt-doc
txt-doc: $(TXTS)
%.html: %.1
groff -Thtml -mman $< >$@
%.txt: %.1
groff -Tascii -mman $< | sed s/\\[[0-9][0-9]*m//g >$@
clean:
-rm $(HTMLS) $(TXTS)
tokentpl.txt: ../golded3/gemsgs.cpp
echo '* Golded+ template file and externutil comand line tokens list.' > $@
echo '* $$Id$$' >> $@
echo '==========================================================================' >> $@
grep tokenxchg $< | sed -e '/^static bool tokenxchg/d' -e 's/^.*"\(@\w*\)".*$$/\1/' | sort -u >> $@
tokencfg.txt: ../golded3/gccfgg.h
@echo '* Golded+ config file tokens list.' > $@
@echo '* $$Id$$' >> $@
@echo '==========================================================================' >> $@
grep CRC_ $< | sed -e '/CRC_LAST_CRC/d' -e 's/^.* CRC_\(\w*\).*$$/\1/' | sort -u >> $@