Commit d571771f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(update-www): Depend on protocol-a-full.txt, so that checkargs.py is

	run first.  Copy the generated grammars to the web dir.
(protocol-a-full.txt): New target.
parent 4eb10734
# $Id: Makefile.am,v 1.59 2003/08/23 19:30:10 ceder Exp $
# $Id: Makefile.am,v 1.60 2003/08/28 21:02:34 ceder Exp $
# Copyright (C) 1998-1999, 2001-2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -110,7 +110,7 @@ WWWROOT=/lysator/www/www-pages/html/lyskom/protocol
PROTOEDITION=`sed -n 's/^@set PROTOEDITION //p' < $(srcdir)/Protocol-A.texi`
WWWREV=$(WWWROOT)/$(PROTOEDITION)
update-www: protocol-a.info protocol-a.html protocol-a/index.html \
Protocol-A.dvi Protocol-A.pdf
Protocol-A.dvi Protocol-A.pdf protocol-a-full.txt
cd $(WWWROOT) || false
rm -rf $(WWWREV) \
Protocol-A-$(PROTOEDITION)-info \
......@@ -129,10 +129,14 @@ update-www: protocol-a.info protocol-a.html protocol-a/index.html \
ln -s ../Protocol-A-$(PROTOEDITION).texi $(WWWREV)/Protocol-A.texi
cp protocol-a.html $(WWWREV)/protocol-a.html
cp protocol-a/* $(WWWREV)/
cp protocol-a-*.txt $(WWWREV)/
echo "Don't forget to edit $(WWWROOT)/index.html"
check: check-doc pdf dvi
protocol-a-full.txt: Protocol-A.texi checkargs.py
$(MAKE) check-doc
check-doc: Protocol-A.notab lyskomd.notab info
if HAVE_PYTHON
## Create a list of all aux-items.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment