X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fprotocol%2FMakefile.am;fp=doc%2Fprotocol%2FMakefile.am;h=ec6345fd1f24bf706b29dd3fedb13bdf33b9ab15;hb=6d0881b544e841d5b835960b3419da97ff604792;hp=6c091f403f709ba045ff66671804279f6b25f05f;hpb=346ead7fe39a69e9b39228d49e138220fb46dbbd;p=doldaconnect.git diff --git a/doc/protocol/Makefile.am b/doc/protocol/Makefile.am index 6c091f4..ec6345f 100644 --- a/doc/protocol/Makefile.am +++ b/doc/protocol/Makefile.am @@ -3,17 +3,19 @@ EXTRA_DIST = cmd protocol.tex .dvi.ps: dvips -o $@ $< -protocol.dvi: protocol.tex commands.tex protocol.1st +protocol.dvi: protocol.tex commands.tex protocol.1st reqlist.sty latex protocol -protocol.1st: protocol.tex commands.tex +protocol.1st: protocol.tex commands.tex reqlist.sty latex protocol touch protocol.1st commands.tex: cmd/*.tex rm -f commands.tex; \ for f in cmd/*.tex; do \ - echo "\\begin{reqspec}{${f%.tex}}" >>commands.tex; \ + cmd="$${f%.tex}"; \ + cmd="$${cmd##*/}"; \ + echo "\\begin{reqspec}{$$cmd}" >>commands.tex; \ cat "$$f" >>commands.tex; \ echo "\\end{reqspec}" >>commands.tex; \ done