From: Fredrik Tolf Date: Fri, 6 Jul 2007 16:25:53 +0000 (+0200) Subject: Added doc/protocol to automake. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;ds=inline;h=f11a36750a26c7569e8732369dafb88d88a6463a;hp=138b6ec15e46ce89a1de58da19a62e84b0a4986e;p=doldaconnect.git Added doc/protocol to automake. --- 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