From f11a36750a26c7569e8732369dafb88d88a6463a Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 6 Jul 2007 18:25:53 +0200 Subject: [PATCH] Added doc/protocol to automake. --- configure.in | 1 + doc/Makefile.am | 2 +- doc/protocol/Makefile.am | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 doc/protocol/Makefile.am diff --git a/configure.in b/configure.in index 73d2f91..c2fbcc8 100644 --- a/configure.in +++ b/configure.in @@ -268,6 +268,7 @@ include/Makefile include/doldaconnect/Makefile doc/Makefile doc/man/Makefile +doc/protocol/Makefile po/Makefile.in config/Makefile contrib/Makefile diff --git a/doc/Makefile.am b/doc/Makefile.am index 652b077..7fabf7d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS=man +SUBDIRS=man protocol EXTRA_DIST = INSTALL protorev INSTALL.gaim INSTALL.applet diff --git a/doc/protocol/Makefile.am b/doc/protocol/Makefile.am new file mode 100644 index 0000000..40f8599 --- /dev/null +++ b/doc/protocol/Makefile.am @@ -0,0 +1,19 @@ +EXTRA_DIST = cmd protocol.tex + +.dvi.ps: + dvips -o $@ $< + +protocol.dvi: protocol.tex commands.tex protocol.1st + latex protocol + +protocol.1st: protocol.tex commands.tex + latex protocol + touch protocol.1st + +commands.tex: cmds/*.tex + rm -f commands.tex \ + for f in cmds/*.tex; do \ + echo "\\begin{reqspec}{${f%.tex}}" >>commands.tex; \ + cat "$f" >>commands.tex; \ + echo "\\end{reqspec}" >>commands.tex; \ + done -- 2.11.0