From 3305f52e7c71403335c26537affcd76c63e06a0c Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 7 Jul 2007 00:18:05 +0200 Subject: [PATCH] Fix commands.tex rule and add cleaning rule. --- doc/protocol/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/protocol/Makefile.am b/doc/protocol/Makefile.am index 40f8599..3637059 100644 --- a/doc/protocol/Makefile.am +++ b/doc/protocol/Makefile.am @@ -10,10 +10,14 @@ 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 \ +commands.tex: cmd/*.tex + rm -f commands.tex; \ + for f in cmd/*.tex; do \ echo "\\begin{reqspec}{${f%.tex}}" >>commands.tex; \ - cat "$f" >>commands.tex; \ + cat "$$f" >>commands.tex; \ echo "\\end{reqspec}" >>commands.tex; \ done + +clean-local: + rm -f protocol.aux protocol.log protocol.dvi commands.tex \ + protocol.1st protocol.ps -- 2.11.0