X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=cfa763f32a28fcc31ee341532595e484df929b80;hb=34d010f83bce84a4d33b77b1e6674502847f262c;hp=14a62ede2c6b0f07c2b6ece04a47d12ad3f82c31;hpb=6bff9e080fda8c35a978cff68102b849b3c8671d;p=myplc.git diff --git a/doc/Makefile b/doc/Makefile index 14a62ed..cfa763f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -4,18 +4,17 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Makefile,v 1.3 2006/04/24 22:14:56 mlhuang Exp $ +# $Id$ # -vpath GenDoc.xsl ../../plc_www/doc -vpath plc_config.xml .. +all: myplc.pdf myplc.html -all: myplc.pdf myplc.php +.PHONY: all # Dependencies -.myplc.xml.valid: architecture.eps architecture.png variables.xml +.myplc.xml.valid: architecture.eps architecture.png plc_variables.xml -variables.xml: variables.xsl plc_config.xml +plc_variables.xml: variables.xsl ../default_config.xml xsltproc $(XSLFLAGS) --output $@ $^ # Validate the XML @@ -43,7 +42,7 @@ endef $(foreach format,$(FORMATS),$(eval $(call docbook2,$(format)))) docclean: - rm -f $(patsubst %,*.%,$(FORMATS)) *.pdf .*.xml.valid variables.xml + rm -f $(patsubst %,*.%,$(FORMATS)) *.pdf *.php .*.xml.valid variables.xml clean: docclean